00:00

QUESTION 21

Refer to HTML below:

The current status of an Order: In Progress

.
Which JavaScript statement changes the text ‘In Progress’ to ‘Completed’ ?

Correct Answer: C

QUESTION 22

Refer to the code:
JavaScript-Developer-I dumps exhibit
Given the code above, which three properties are set pet1? Choose 3answers:

Correct Answer: BCE

QUESTION 23

A developer wrote a fizzbuzz function that when passed in a number, returns the following:
‘Fizz’ if the number is divisible by 3. ‘Buzz’ if the number is divisible by 5.
‘Fizzbuzz’ if the number is divisible by both 3 and 5. Emptystring if the number is divisible by neither 3 or 5.
Which two test cases will properly test scenarios for the fizzbuzz function? Choose 2 answers

Correct Answer: BCD

QUESTION 24

Refer to the code below:
Let foodMenu1 =[‘pizza’, ‘burger’, ‘French fries’]; Let finalMenu = foodMenu1; finalMenu.push(‘Garlic bread’);
What is the value of foodMenu1 after the code executes?

Correct Answer: B

QUESTION 25

Which two console logs output NaN? Choose 2 answers | |

Correct Answer: BD