Question 86

Which three statements are true about promises?
The executor of a new promise runs automatically.
  • Question 87

    Given the following code:

    is the output of line 02?
  • Question 88

    developer uses the code below to format a date.

    After executing, what is the value of formattedDate?
  • Question 89

    A developer is asked to fix some bugs reported by users. To do that, the developer adds a breakpoint for debugging.

    When the code execution stops at the breakpoint on line 06, which two types of information are available In the browser console? Choose 2 answers
  • Question 90

    Refer to the code below:
    const addBy = ?
    const addByEight =addBy(8);
    const sum = addBYEight(50);
    Which two functions can replace line 01 and return 58 to sum?
    Choose 2 answers