1. document.write()
2. document.output()
3. console.log()
4. document.writeHTML()
document.write()
1. console.write()
2. console.output()
3. console.log()
4. console.writeHTML()
console.log()
1. var defines a variable while let defines a constant
2. var defined function scoped variable while let define block scoped variable
3. The value of a variable declared with var can be changed while the value of a variable declared with let cannot be changed
4. All of the above
var defined function scoped variable while let define block scoped variable
1. Function scopes variable
2. Block scoped variable
3. Constant
4. Constant with no initial value
Constant
1. const constant_name;
2. constant_name const;
3. constant_name const = value;
4. const constant_name = value;
const constant_name = value;
1. 10
2. 20
3. ValueError
4. TypeError
TypeError
1. 0
2. undefined
3. null
4. NaN
undefined
1. 0
2. undefined
3. 1
4. NaN
NaN
1. Yes
2. No
Yes
1. Alex Alvin
2. AlexAlvin
3. TypeError
4. ValueError
Alex Alvin