Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~~~~~~~~~~~~~~~~~~~~<Number one(types)>~~~~~~~~~~~~~~~~~~~~<
- var myString = 'String';
- var myNumber = 6;
- var myBoolean = true;
- // Do not edit the code under this line
- console.log("Name: " + myString);
- console.log("Lucky Number: " + myNumber);
- console.log("Good joke? " + myBoolean);
- ~~~~~~~~~~~~~~~~~~~~<Number two(Console)>~~~~~~~~~~~~~~~~~~~~
- console.log("favourite pizza here.", "more favourite pizza.\n");
- ~~~~~~~~~~~~~~~~~~~~<Number three(math operators)>~~~~~~~~~~~~~~~~~~~~
- console.log(15 + 3.5);
- console.log(2017 - 1969);
- var stepThree = 65 / 240;
- console.log(stepThree);
- console.log(stepThree * 100);
- ~~~~~~~~~~~~~~~~~~~~<Number three(math operators 2)>~~~~~~~~~~~~~~~~~~~~
- console.log(365 / 27);
- console.log(365 % 27);
- ~~~~~~~~~~~~~~~~~~~~<Pseudo-random numbers>~~~~~~~~~~~~~~~~~~~~
- console.log(Math.random() * 100);
- console.log(Math.floor(Math.random() * 100));
- ~~~~~~~~~~~~~~~~~~~~<Comments>~~~~~~~~~~~~~~~~~~~~
- //Opening line
- console.log('It was love at first sight.');
- /*console.log('The first time Yossarian saw the chaplain he fell madly in love with him.');
- console.log('Yossarian was in the hospital with a pain in his liver that fell just short of being jaundice.');
- console.log('The doctors were puzzled by the fact that it wasn\'t quite jaundice.');
- console.log('If it became jaundice they could treat it.');
- console.log('If it didn\'t become jaundice and went away they could discharge him.');
- console.log('But this just being short of jaundice all the time confused them.');*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement