Q. What would be the result of the following statement in JavaScript using regular expression methods?

  • (A) Throws an exception
  • (B) Returns [1,2,3,4,5,6,7,8,9]
  • (C) Returns ["123","456","789"]
  • (D) Returns ["123""456""789"]
πŸ’¬ Discuss
βœ… Correct Answer: (C) Returns ["123","456","789"]

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
223
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
90%
Success Rate