In javascript, RegExp Object Method test() is used to search a string and return
ID: 3544057 • Letter: I
Question
In javascript, RegExp Object Method test() is used to search a string and returns _________
a) true or false
b) found value
c) index
d) None of the above
What property would you use to redirect a visitor to another page?
a) document.URL
b) window.location.href
c) document.location.href
d) link.href
In JavaScript, which of the statements below can be used for string declaration?
1) var cst="PHPKB Knowledge Base Software";
2) var cst=new String("PHPKB Knowledge Base Software");
a) Either (1) or (2)
b) Only (1)
c) Neither (1) nor (2)
d) Only (2)
Explanation / Answer
a
b
a
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.