Which of the following code snippets will correctly split “str”?
Correct Answer: <script> Var str = ‘something – something_else’; Var substrn = str.split(‘--’); </script>
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More JavaScript MCQ Questions