Closed truongsinh closed 11 years ago
myArray: - firstEl - secondEl
expected
# myArray = ['firstEl', 'secondEl'] myArray.push('thirdEl'); # myArray = ['firstEl', 'secondEl', 'thirdEl']
got
# myArray = {'0': 'firstEl', '1':'secondEl'} myArray.push('thirdEl'); # TypeError: Object #<Object> has no method 'push'
Invalid. This is due to other implementation.
expected
got