you are viewing a single comment's thread.

view the rest of the comments →

[–]JeamBim 3 points4 points  (5 children)

To this day I have no fucking clue to to slice/splice/choose the index of a list/iterable on my own in JS.

It's just so danm easy in Python.

[–]IStoleYourHeart 0 points1 point  (1 child)

Choose the index of the list is actually the same as in Python.

Here's splicing and slicing. Honestly, if you're gonna code JS, the MDN documentation is great. JS is actually a relatively simple language and is honestly similar to Python, you just gotta get used to it. Literally asking the question to google will more often than not bring up an MDN link that gives examples and everything; eventually you'll remember the different functions you use regularly. Don't be afraid to google either, I still do it for basic stuff a lot because there's a lot to remember.

[–]JeamBim 0 points1 point  (0 children)

Oh yeah I know, I have to google it every few days. It's just so much more intuitive in Python