Q. What is the purpose of the RegExp method test()?

  • (A) Tests for a match in its float parameter
  • (B) Tests for a match in its string parameter
  • (C) Tests for a match in its integer parameter
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (B) Tests for a match in its string parameter
Explanation: The RegExp method test() tests for a match in its string parameter.
Explanation by: Mr. Dubey
The RegExp method test() tests for a match in its string parameter.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
141
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
88%
Success Rate