Which of these options sets the array of items z, w? var a = z,w.split(,). var a
Fantastic news! We've Found the answer you've been seeking!
Question:
Which of these options sets the array of items “z”, “w”?
- var a = “z,w”.split(‘,’).
- var a = [“z”, “w”].
- var a = new Array (“z”, “w”).
1. | Only a. |
2. | Only b. |
3. | Both b and c. |
4. | Both a and b. |
5. | Both: a and c. |
6. | All a, b, c and d. |
7. | Three of them: a, b and c. |
8. | None of them. |
Related Book For
Posted Date: