JSFiddle - React, Tailwind, and code Playground
HTML
<div>one</div>
<span>two</span>
<p>three</p>
JavaScript
$.fn.push = function(selector) {
Array.prototype.push.apply(this, $.makeArray($(selector)));
return this;
};
var $result = $("span").push('p').push('div');
console.log($result);