Edit The Code:
See Result »
Try it Yourself - ©
w3ii.com
The push method returns the new array length.
Try it