MCQOPTIONS
Bookmark
Saved Bookmarks
→
Javascript
→
Blobs in Javascript
→
*$_The class that represents the regular expressio..
1.
*$_The class that represents the regular expressions is?
A.
RegExpObj
B.
RegExpClass
C.
RegExp
D.
StringExp
Answer» D. StringExp
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
Consider the following code snippetvar sets = com.davidflanagan.collections.sets;What is the programmer trying to do in the above code snippet?
Consider the following statement containing regular expressionsvar text = "testing: 1, 2, 3";var pattern = /d+/g;In order to check if the pattern matches, the statement is
Consider the following code snippetdata.sort(function(a,b),b-a);What does the above code do?
Consider the following code snippetlet succ = function(x) x+1, yes = function() true, no = function() false;What convenience does the above code snippet provide?
Consider the following code snippet[x,y]=[y,x];What is the result of the above code snippet?
Consider the following code snippetconsole.log(p)If p is not defined, what would be the result or type of error?
Consider the following code snippetfunction oddsums(n){let total = 0, result=[];for(let x = 1; x <= n; x++){let odd = 2*x-1;total += odd;result.push(total);}return result;}What would be the output ifoddsums(5)is executed afted the above code snippet ?
Consider the following code snippetconst pi=3.14;var pi=4;console.log(pi);What will be the output for the above code snippet?
Consider the following code snippet. What would be the output if oddsums(5); is executed afted the below code snippet ?
Consider the following statementvar Set = sets.Set;var s = new Set(1,2,3);What could be the efficiency quotient of the above two statements ?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply