JQuery | merge() method

This merge() Method in jQuery is used to merge the contents of two arrays together into the first array.

Syntax:

jQuery.merge( first, second )

Parameters: The merge() method accepts only one parameter that is mentioned above and described below: