JavaScript Closures – what are they used for? Should you care?

Woah, the JS world is moving so fast. Just yesterday I was replacing my jQuery $(‘#time’) with document.getElementById(‘#time’) calls. I……

Similar

Modern JavaScript in Rails 7 without Webpack

I didn't much care for vanilla JavaScript prior to ES6. Through all of the 2000s, I chased different approaches to avoid writing too much of it. First there was RJS (Ruby-to-JavaScript). Then there was CoffeeScript. Both transpiling approaches that turned... (more…)

Read more »