Discussion :: Javascript - CS
- 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
Explanation :
The subexpression /java(script)?/ matches “java” followed by the optional “script”.
Be The First To Comment