Question: Given the following JavaScript code: 1. Given the following JavaScript code: var x-10; if ((null) | console log(Hello) || x>5) console.log(Hello) How many times will
Given the following JavaScript code:


1. Given the following JavaScript code: var x-10; if ((null) | console log("Hello") || x>5) console.log("Hello") How many times will the word Hello' be printed to the console? C. 2 D. 0 2. Strict equality operator differs from regular equality operatorin that it checks if both values on its right and left are of the same type first. If they are not, it doesn't try to coerce them to be the same value and just returns false. Is this true or false? rue B. False 3. Which of the following does JavaScript support but PHP does NOT support? A. Loops B. Databases C. Associative arrays D. Conditionals E. Retrieving the user's precise geolocation 4. Which of these statements is most generally true? 4 Marks A. The font of a short headline on a website should be serif and set with a tag B. The font of a short headline on a website should be serif and set with CSS C. The font of a short headline on a website should be sans-serif and set with a tag D. The font of a short headline on a website should be sans-serif and set with CSS
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
