3 ms·
> doesn't remember the difference between .call and .apply Simply getting the names mixed up and needing to look them up is one thing, but if the unfamiliarity
by _greim_ 12y ago
> doesn't remember the difference between .call and .apply
Simply getting the names mixed up and needing to look them up is one thing, but if the unfamiliarity stems from a general unfamiliarity with those methods and their respective use cases, then it would be a red flag for a "senior dev" sort of position.
- ChrisAntaki 12y agoI like to associate `.apply` with "Array", and `.call` with "Columns". f.apply(this, arrayOfArgs); // Array f.call(this, arg1, arg2, arg3); // Columns
- angersock 12y ago"Columns" -> "call()'ems" :)
- ChrisAntaki 12y agoOh, that's good
- johnotander 12y agoI have a similar association, but use "Commas" in place of "Columns".