Async Generator Functions in JavaScript

Most Recent

Control Chrome from Node.js with Puppeteer

July 23, 2019

Puppeteer is Google's official npm module for controlling Chrome from Node.js. Using Puppeteer, you can open up a Chrome browser, navigate to an arbitrary page, and interact with the page by executing arbitrary JavaScript. Here's a short list of what you can do with Puppeteer:

Async Await Error Handling in JavaScript

July 09, 2019

Error handling in async/await causes a lot of confusion. There are

Async Functions in JavaScript

June 26, 2019

Async functions were introduced in the 2017 edition of the JavaScript language spec. Async functions differ from normal JavaScript functions in 2 major ways:

What's New in Mongoose 5.6.0: Immutable Properties

June 18, 2019

Mongoose 5.6.0 was released last week. This new release has 12 new features, 2 performance improvements, and several docs improvements. The most interesting new feature is immutable properties. The idea is that marking a property as immutable means that property cannot change after the document is created.

The 80/20 Guide to JavaScript Arrays

June 11, 2019

JavaScript arrays are an essential part of the language. Fundamentally, an array is a value that stores an ordered list of other values. But JavaScript arrays come with a lot of nuances and surprises. In this article, I'll provide an overview of what you need to know about JavaScript arrays.

Testing Vue Apps with Puppeteer and Mocha

June 05, 2019

Puppeteer is a powerful automation library for Google Chrome. With Puppeteer, you can launch a Chrome browser that you have full control over from Node.js. This makes UI testing easy: your client-side app runs in a real browser, no need to worry about the painful quirks of Jest attempting to mimic a browser in Node.js. Puppeteer runs in headless mode by default, which means the Chrome window isn't visible. But you can still take screenshots in headless mode, or you can disable headless mode and watch your tests click through your app.

Sponsored by #native_company# - Learn More
#native_title# #native_desc#