A simple JavaScript stopwatch

User this JavaScript object to help instrument and diagnose your APIs

It's a good idea to have some metrics baked into APIs and other parts of your code. This little JavaScript object lets you easily capture the elapsed time in milliseconds.

javascript

Async and wait

async and wait

javascript

Don't let users lose a page full of data

Protect your users from losing valuable work with a clumsy mouse click

Protect your users from losing valuable work with a clumsy mouse click

javascript

How to post a Laravel form with Ajax

this is the abstract

javascript laravel php ajax

Calling a class method from an event handler

This article shows how to exploit the this-less power of ES6's arrow functions to reference a client-side JavaScript class (or an object) instance method from an event handler assigned in that class.

javascript es6