Which built-in method reverses the order of the elements of an array?
changeOrder(order)
reverse()
sort(order)
None of the above.
Correct Answer : B
Predict the output of the following JavaScript code.
var a = "javascript"; var result = a.substring(2, 3); document.write(result);