Question:What is the output of following JavaScript code?
<script type="text/javascript"> var text = "This is a text"; var result = text.split(" "); document.write(result); </script>
A This is a text
B This,is,a,text
C This is a text
D "This" "is" "a" "Text"
+ AnswerB
+ Report