MENU
Arrays and Objects
$.merge(Array first, Array second)<br>Merge the contents of two arrays into 'first'.<br>$.extend([Boolean deep,] Object target [, Object o]...)<br>Extend the contents of 'target' with the contents of subsequent Object arguments.<br>$.fn.extend(Object o)<br>Extend the jQuery prototype.
RESETRUNFULL
RESETRUNFULL
<!DOCTYPE html><html><head>
<script src="jquery-3.5.1.min.js"></script></head><body>
<p class='c2'></p>
<p class='c3'></p>
<p class='c3'></p>
<p class='c1'></p>
<script>
arr = $('p').get();
arr = arr.concat(arr);
alert(arr.length); // 8
$.uniqueSort(arr);
alert(arr.length); // 4
$.fn.extend({hello:
function(){alert('hello');}});
$('p').hello(); // hello
</script></body></html>