YourJS Blog Posts

Blog posts and examples showing how to best use YourJS and JavaScript in general.

How To Use YourJS.timeAgo()

A brief example showing how to use the YourJS.timeAgo() function to show in a human readable (English) way how long ago the specified date occurred.

Written on Thursday, March 7th, 2019 at 4:57PM.

Named Capture Groups

Learn about named capturing groups now that it has been added to ECMAScript (AKA JavaScript) as of ES2018. Try out some examples!

Written on Monday, March 11th, 2019 at 6:12PM.

Sandbox Code Using Web Workers

A quick example of how to use web workers to run sandboxed JavaScript. There are benefits and downsides to this approach.

Written on Tuesday, March 5th, 2019 at 9:29AM.