Examveda
Examveda

What does the subexpression /java(script)?/ result in ?

A. It matches “java” followed by the optional “script”

B. It matches “java” followed by any number of “script”

C. It matches “java” followed by a minimum of one “script”

D. None of the mentioned

Answer: Option A

Solution(By Examveda Team)

The subexpression /java(script)?/ matches “java” followed by the optional “script”.

This Question Belongs to Javascript >> Classes And Modules

Join The Discussion

Related Questions on Classes and Modules