Array#push()
returns the length of the resultant array. Since you're pushing a single value onto an empty array, the length of the result will indeed be 1.
If you want to see the updated array as output, you'll need to save a reference to it since push()
does not return a reference:
var arr = [].slice();
arr.push(65);
console.log(arr); // [ 65 ]