Q. What will be the output of the following JavaScript code?
Code:
System.out.println( Pattern.matches("[lfc]", "lets") );
β
Correct Answer: (C)
false
System.out.println( Pattern.matches("[lfc]", "lets") );
You must be Logged in to update hint/solution