var $newCollection = []; var $item = $("<li></li>"); $newCollection.push($item); console.log($newCollection.length); // 0