File tree Expand file tree Collapse file tree 2 files changed +162
-0
lines changed
Expand file tree Collapse file tree 2 files changed +162
-0
lines changed Original file line number Diff line number Diff line change 1+ /* eslint-disable */
2+ /*
3+ const name = 'wes';
4+ const middle = "topher";
5+ const last = `bos`;
6+
7+ const sentence = "shes's so \"cool\"";
8+ const sentence2 = `shes's so "cool"`;
9+
10+ const song = `Ohhh
11+
12+ ya
13+
14+ I like
15+ pizza`;
16+
17+ const hello = 'hello my name is ' + name + ". Nice to meet you";
18+
19+ let hello2 = 'hello my name is ';
20+ hello2 = hello2 + name;
21+ hello2 = hello2 + ' Nice to meet you';
22+
23+ const hello = `hello my name is ${name}. Nice to meet you. I am ${1 + 100} years old`;
24+
25+ const html = `
26+ <div>
27+ <h2>${name}</h2>
28+ <p>${hello}</p>
29+ </div>
30+ `;
31+
32+ document.body.innerHTML = html;
33+
34+ */
35+
36+ // const age = 100.5;
37+ // const name = 'wes';
38+
39+ // const a = 10;
40+ // const b = 20;
41+ /*
42+ const smarties = 20;
43+ const kids = 3;
44+ const eachKidGets = Math.floor(smarties / kids);
45+ const dadGets = smarties % kids;
46+ console.log(`Each kids gets ${eachKidGets}`);
47+
48+ const price = 1034;
49+ */
50+
51+ const person = {
52+ first : "wes" ,
53+ last : "bos" ,
54+ age : 100 ,
55+ } ;
56+
57+ let dog ;
58+ console . log ( dog ) ;
59+ dog = "snickers" ;
60+
61+ let somethingUndefined ;
62+ const somethingNull = null ;
63+
64+ const cher = {
65+ first : "cher" ,
66+ } ;
67+
68+ const teller = {
69+ first : "Raymond" ,
70+ last : "Teller" ,
71+ } ;
72+
73+ teller . first = "Teller" ;
74+ teller . last = null ;
Original file line number Diff line number Diff line change 1+ /* eslint-disable */
2+ /*
3+ const name = 'wes';
4+ const middle = "topher";
5+ const last = `bos`;
6+
7+ const sentence = "shes's so \"cool\"";
8+ const sentence2 = `shes's so "cool"`;
9+
10+ const song = `Ohhh
11+
12+ ya
13+
14+ I like
15+ pizza`;
16+
17+ const hello = 'hello my name is ' + name + ". Nice to meet you";
18+
19+ let hello2 = 'hello my name is ';
20+ hello2 = hello2 + name;
21+ hello2 = hello2 + ' Nice to meet you';
22+
23+ const hello = `hello my name is ${name}. Nice to meet you. I am ${1 + 100} years old`;
24+
25+ const html = `
26+ <div>
27+ <h2>${name}</h2>
28+ <p>${hello}</p>
29+ </div>
30+ `;
31+
32+ document.body.innerHTML = html;
33+
34+ */
35+
36+ // const age = 100.5;
37+ // const name = 'wes';
38+
39+ // const a = 10;
40+ // const b = 20;
41+ /*
42+ const smarties = 20;
43+ const kids = 3;
44+ const eachKidGets = Math.floor(smarties / kids);
45+ const dadGets = smarties % kids;
46+ console.log(`Each kids gets ${eachKidGets}`);
47+
48+ const price = 1034;
49+ */
50+
51+
52+ /*
53+ const person = {
54+ first: 'wes',
55+ last: 'bos',
56+ age: 100
57+ };
58+
59+
60+ let dog;
61+ console.log(dog);
62+ dog = 'snickers';
63+
64+
65+ let somethingUndefined;
66+ const somethingNull = null;
67+
68+ const cher = {
69+ first: 'cher'
70+ };
71+
72+ const teller = {
73+ first: 'Raymond',
74+ last: 'Teller'
75+ }
76+
77+ teller.first = 'Teller';
78+ teller.last = null;
79+
80+ */
81+
82+ let isDrawing = false ;
83+ let age = 18 ;
84+ const ofAge = age > 19 ;
85+ console . log ( ofAge ) ;
86+
87+ age = 100 ;
88+ let age2 = 100 ;
You can’t perform that action at this time.
0 commit comments