Not every JavaScript function is constructable

Šime Vidas recently tweeted about the object method shorthand definition. The tweet described that shorthand method defintions are not constructable and can not be used with the new keyword. You can’t invoke an object method as a constructor if you’ve Continue reading Not every JavaScript function is constructable

JorgeBucaran/classwrap: 0.3 KB JavaScript utility for conditionally concatenating class names.

Classwrap is a 0.3 KB JavaScript utility for conditionally concatenating class names. Try it Online import cw from “classwrap” export function ToggleButton({ toggle, isOn }) { return ( <div class=”btn” onclick={toggle}> <div class={cw({ circle: true, off: !isOn, on: isOn })} Continue reading JorgeBucaran/classwrap: 0.3 KB JavaScript utility for conditionally concatenating class names.

JavaScript Weekly Issue 357: October 20, 2017

A walkthrough of using RxJS, Angular, Web Bluetooth, and an EEG headset to monitor brainwaves and perform actions based on eye blinks. Uri Shaked The latest Vue, billed “Level E”, comes with better TypeScript integration, error handling, and improved support Continue reading JavaScript Weekly Issue 357: October 20, 2017

JavaScript Call-back Functions, Promises and Async/Await

As JavaScript has evolved and changed over the last 5 years, I have found various ways to perform asyncronous operations i.e. when making a request for data to a database that does not (or may) reside on the same machine Continue reading JavaScript Call-back Functions, Promises and Async/Await

Microsoft/napajs: Napa.js: a multi-threaded JavaScript runtime

Napa.js is a multi-threaded JavaScript runtime built on V8, which was originally designed to develop highly iterative services with non-compromised performance in Bing. As it evolves, we find it useful to complement Node.js in CPU-bound tasks, with the capability of Continue reading Microsoft/napajs: Napa.js: a multi-threaded JavaScript runtime

Automate Your Development Workflow With GulpJS

TL;DR: In this tutorial, I’ll introduce you to GulpJS and show you how to set it up in your application for task automation. GulpJS is a JavaScript task runner that lets you automate several tasks during development. These tasks involve Continue reading Automate Your Development Workflow With GulpJS

ironSource/parquetjs: fully asynchronous, pure JavaScript implementation of the Parquet file format

fully asynchronous, pure JavaScript implementation of the Parquet file format This package contains a fully asynchronous, pure JavaScript implementation of the Parquet file format. The implementation conforms with the Parquet specification and is tested for compatibility with Apache’s Java reference Continue reading ironSource/parquetjs: fully asynchronous, pure JavaScript implementation of the Parquet file format

Test-Driving JavaScript Applications – Free eBook

Debunk the myth that JavaScript is not easily testable. Whether you use Node.js, Express, MongoDB, jQuery, AngularJS, or directly manipulate the DOM, you can test-drive JavaScript. Learn the craft of writing meaningful, deterministic automated tests with Karma, Mocha, and Chai. Continue reading Test-Driving JavaScript Applications – Free eBook