Enforcing Required Function Arguments in ES6 JavaScript
A nice trick with default argument expressions in ES6 to handle missing required arguments.
6
4
I fell in love with coding at age 13 and haven't looked back since. I've learned lots of languages along the way, but I'd have to say my favorites are Solidity and JavaScript. I'm a huge proponent of science/tech education, free speech and digital privacy rights.