- A true
- B false
- C "true"
- D "false"
- Share this MCQ
Answer:
A
Share this MCQ
The includes
method in JavaScript is a method that can be called on a string value to determine whether the string includes the specified string.
In this case, the includes method is called on the string "Hello World!"
, with the string "World"
as the argument.
Since the string "Hello World!"
does include the string "World"
, the includes method will return true.
Share this MCQ