12 lines
339 B
JavaScript
Executable File
12 lines
339 B
JavaScript
Executable File
let bool1 = false;
|
|
let bool2 = true;
|
|
console.log(typeof bool1)
|
|
|
|
let str1 = "JavaScript is fun!";
|
|
let str2 = "JavaScript is fun!";
|
|
console.log("These two strings are the same:", str1 === str2);
|
|
|
|
let sym1 = Symbol("JavaScript is fun!");
|
|
let sym2 = Symbol("JavaScript is fun!");
|
|
console.log("These two Symbols are the same:", sym1 === sym2);
|