Working with JavaScript Array .push() returns the length of the array after modification, not the array itself. Post Views: 114