Posts tagged #javascript

← Back to Archive

Let's Talk About JavaScript

This post is an homage to Gary Bernhardt's famous "Wat" talk and explains why the JavaScript engine evaluates the pieces of code shown the way it does.

The Comma Operator in JavaScript

JavaScript defines the comma operator, which evaluates multiple expressions and returns the value of the last one. Here's a real-world usage example for this operator.

Implicit Function Chaining in Lodash

Lodash implements implicit function chaining, which allows you to write function chains without calls to _.chain or _.value. This allows for a concise and readable expression of typical map/reduce transformations.

Lodash and ECMAScript 2015

The popular Lodash library will be even more natural to use with ECMAScript 2015. New language features like pattern matching, array destructuring, and arrow functions allow for writing terse yet readable code.

← Back to Archive