Open In App

full | stack contest 4 | Question 15

What new feature in JavaScript allows you to include a default value for a function parameter if no value is provided?

(A)



Rest parameters

(B)



Default parameters

(C)

Spread operators

(D)

Async/await

Answer: (B)
Explanation:
Quiz of this Question
Please comment below if you find anything wrong in the above post

Article Tags :
Uncategorized