Mongoose with ES6 classes

Mongoose is a great way to handle your database connection and model your data without having to worry about performing your own validation and so on. However I found it quite hard to find an example of Mongoose in action with the database connection not… Read more

Similar

Six nifty ES6 tricks

In this blog post, I show six tricks enabled by new ES6 features. At the end of each section, I point to related material in my book “ Expl...

Read more »

Playing with ES6: Tail Call Optimization

One of the behind-the-scenes changes that is coming with ES6 is support for tail call optimization (TCO). Tail call optimization means that, if the last expression in a function is a call to another…...

Read more »