Last active
March 26, 2023 18:17
-
-
Save sandrabosk/d35c6a68a8f1bedcb6e0f28fde6bd795 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Write down what will these statements return: | |
console.log(true && false); // ==> ? | |
console.log(11 % 3 === 2); // ==> ? | |
console.log(false || true); // ==> ? | |
console.log(!true || false); // ==> ? | |
console.log(17 == '17'); // ==> ? | |
console.log(123 === '123'); // ==> ? | |
let statement = 'I love JavaScript!'; | |
let subStatement = statement.substr(2, 9); | |
console.log(statement); // ==> ? | |
statement[0].toLowerCase(); | |
console.log(statement); // ==> ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment