DEV Community

Discussion on: What's that piece of code that you have to Google *every time*?

Collapse
mdamaceno profile image
Marco Damaceno

JavaScript slice and indexOf.
PHP map, filter and reduce. I always forget the order of the arguments.