Menu

Close
  • Home
Subscribe
Menu

JavaScript

A 4-post collection

Page 1 of 1

Utilising Destructuring Assignment and Default Parameters

Sometimes you need to extract one property from an object, and if that property doesn't exist, you need to return a default value. Traditionally »

Karl Purkhardt on JavaScript, ES6, ES2015 16 November 2016

Maps vs Objects

ECMAScript 2015 introduced Maps to the language. If you've checked these out, you'll notice that Maps and Objects are very similar, but »

Karl Purkhardt on JavaScript 01 February 2016

Finding odd/even numbers with JavaScript Bitwise Operators

I wanted to share another technique for determining if a number is odd/even in JavaScript - or any other programming language. The common solution to »

Karl Purkhardt on JavaScript, Bitwise Operators 07 November 2015

ECMAScript 6 let vs var

ES6 has introduced a new way to declare variables, the let keyword. This means we now have two methods of declaring variables, var and let. But »

Karl Purkhardt on JavaScript, ES6 09 March 2014
Page 1 of 1
I'm not programming © 2025
Proudly published with Ghost