Question 76

Given the code below:
const copy = JSON.stringify([ new String(' false '), new Bollean( false ), undefined ]); What is the value of copy?
  • Question 77

    Refer to code below:
    console.log(0);
    setTimeout(() => (
    console.log(1);
    });
    console.log(2);
    setTimeout(() => {
    console.log(3);
    ), 0);
    console.log(4);
    In which sequence will the numbers be logged?
  • Question 78

    The developer has a function that prints "Hello" to an input name. To test this, thedeveloper created a function that returns "World". However the following snippet does not print " Hello World".

    What can the developer do to change the code to print "Hello World" ?
  • Question 79

    A developer has the following array of hourly wages:
    Let arr = (8, 5, 9, 75, 11, 25, 7, 75, , 13, 25);
    For workers making less than $10 an hour rate should be multiple by 1.25 and returned in a new array.
    How should the developer implement the request?