Question: 1
Which three statements are true about promises?
The executor of a new promise runs automatically.
Question: 2
Given the code block below:
What should a developer insert line 15 to output the following message using the load method?
SNENneziz is loading a cartridge game: super Monic 3x Force...
Question: 3
A developer has the following array of student test grades:
Let arr -- [7, 8, 5, 9]
How should want to double each score and then see an array of the students who scored more than 15 points.
How should the developer implement the request?
Question: 4
A test has a dependency on database .query. During the test the dependency is replace with an called database with the method, query, that returns an array. The developer needs to verify how many times the method was called and the arguments used each time.
Which two test approaches describe the requirement?
Question: 5
Given the JavaSript below:
Which code should replace the placeholder comment on line 05 to hide accounts that do not match the search string?