Earlier today a friend of mine, Marc Grabanski, pinged me with a question: What’s the optimal way, in JavaScript, to convert a query string like “foo=1&foo=2&foo=3&blah=a&blah=b” into one that looks like this: “foo=1,2,3&blah=a,b”. He ... (more…)
Read more »
Any time we need to run the same code multiple times for a set of data, and don’t want to just repeat the code over and over again, a loop is a perfect option. There are multiple types of loops, all of which accomplish a similar function but that go about... (more…)
Read more »
The tiny JavaScript runtime built with QuickJS, libuv and ❤️ - GitHub - saghul/txiki.js: The tiny JavaScript runtime built with QuickJS, libuv and ❤️... (more…)
Read more »
Let's make some F1 graphics, real fast.Thanks for Corey Mac Gregor for the commentary and to the people at For One Red for their appearance!Source code: http... (more…)
Read more »