I ran into an interesting quirk with JavaScript yesterday, one I’m surprised I hadn’t noticed before. JavaScript does not allow you to give arguments default values when defining functions. So after a bit of tinkering, I came up with a solution. Of course you could use a ternary operator if you prefer, however I know […]
Tag: js
As we all know spam is a plague that has spread to every far corner of the Internet. Spam-bots collect our email addresses in many ways, but in my opinion the most likely way they’ll get your email address is from scraping webpages such as forums, where you email may be listed. So when you’re […]