Question 16

Refer to the following code that imports a module named utils:
import (foo, bar) from '/path/Utils.js';
foo() ;
bar() ;
Which two implementations of Utils.js export foo and bar such that the code above runs without error?
Choose 2 answers
  • Question 17

    Given the following code:

    is the output of line 02?
  • Question 18

    Refer to the code below:
    Let textvalue = '1984';
    Which code segment shows a correct way to convert this string to an integer?
  • Question 19

    After user acceptance testing, the developer is asked to change the webpage background based on user's location. This change was implemented and deployed for testing.
    The tester reports that the background is not changing, however it works as required when viewing on the developer's computer.
    Which two actions will help determine accurate results?
    Choose 2 answers
  • Question 20

    Refer to the code below:

    What is the value of result after the code executes?