WordPress at a glance
function is not described

wp_prototype_before_jquery() WP 2.3.1

Reorder JavaScript scripts array to place prototype before jQuery.

No Hooks.

Return

Array. Reordered array, if needed.

Usage

wp_prototype_before_jquery( $js_array );
$js_array(array) (required)
JavaScript scripts array

Code of wp prototype before jquery: wp-includes/script-loader.php VER 5.0.3

<?php
function wp_prototype_before_jquery( $js_array ) {
	if ( false === $prototype = array_search( 'prototype', $js_array, true ) )
		return $js_array;

	if ( false === $jquery = array_search( 'jquery', $js_array, true ) )
		return $js_array;

	if ( $prototype < $jquery )
		return $js_array;

	unset($js_array[$prototype]);

	array_splice( $js_array, $jquery, 0, 'prototype' );

	return $js_array;
}