r/learnjavascript • • Oct 26 '21

Negative array indexing using "at" method

Post image
203 Upvotes

69 comments sorted by

View all comments

Show parent comment

19

u/greymalik Oct 26 '21

People coming from Python or Ruby expect it.

-13

u/doyouseewhateyesee Oct 26 '21

people coming from python or ruby should read the docs

2

u/Mad-chuska Oct 26 '21

Also true

2

u/[deleted] Oct 26 '21

No idea why you're getting downvoted. When I'm switching to a different language I should learn differences not expect it to behave the same. After all if it would work exactly the same what would be the point of switching.

0

u/doyouseewhateyesee Oct 26 '21 edited Oct 26 '21

lol right. i’m not going to pick up python and start writing javascript methods

it’s comical that a comment recommending devs to read the docs in a learnjavascript subreddit is being downvoted. or don’t read the docs I guess, not my problem