thecodeduck·Apr 15, 2019Oslo and the Free IKEA BusI’m an immigrant. And while my partner and I have lived in Oslo for a few years now, the anxiety of navigating in a foreign language…
thecodeduck·Dec 17, 2018Learn by Doing Lodash _.indexOfA true modulo would continue wrapping around the length of the array, i.e. …
thecodeduck·Nov 29, 2018Learn by Doing Lodash _.flatten & companyThe first time I froze my browser trying to run a script with an incorrectly structured recursive function, …
thecodeduck·Nov 21, 2018Learn by Doing Lodash — housekeepingYou may have noticed that there was a conspicuous pause as I attacked the Array methods alphabetically. Honestly, I was starting to…
thecodeduck·Nov 12, 2018Learn by Doing Lodash _.differenceWhenever I hear the word ‘comparisons’, immediately my mind thinks: Sets.
thecodeduck·Nov 7, 2018Learn by Doing Lodash _.concatPretty quickly, I ran into problems passing in: an argument of a single empty array, undefined, …
thecodeduck·Nov 6, 2018Learn by Doing Lodash _.compactI personally love type coercion in JavaScript. Once you’re aware of “truthy” and “falsy”, you’ve got yourself a pretty powerful little…
thecodeduck·Nov 5, 2018Learn by Doing Lodash _.chunkHonestly, I hadn’t worked with Lodash at all before this so I wasn’t sure what to expect…