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