Wednesday, December 7, 2016

Negative Array Index in Javascript

If you are from python or ruby school, you shall be familar with negative array index, like a[-1] will return the last element, a[-2] will return the second-to-last element and so on.
@reference_1

No comments:

Post a Comment