Array Play and jQuery

Manipulating arrays with Javascript and using jQuery.

How would you do javascript document.getElementById(id); with jQuery ?
$.(‘#id’); and for document.getElementByClass(class) just use $.(‘.class’);

If we had an array and you want to reverse the order you can use the reverse method.
Example as follows.