Tag: vanilla-javascript

Using Google Closure Compiler to deliver better JavaScript

Dev

Code review is the process of analyzing code through a (theoretically) rigorous process of reading and critically peer reviewing its […]

Diogo Souza
Mar 15, 2019 ⋅ 5 min read

Keeping it simple with the JavaScript console

Dev

I’ll admit it, I don’t always use a debugger to figure out what’s going wrong in my program. If my […]

Casper Beyer
Mar 8, 2019 ⋅ 3 min read

Adding pipelines to JavaScript

Dev

Pipelines enable clean chaining of operations, but they’re not quite ready just yet The usage of pipes to transport water, air, […]

Benjamin Johnson
Nov 19, 2018 ⋅ 6 min read

JavaScript design patterns

Dev

Objective This article will: Get you accustomed to Javascript patterns Explain why you should consider using design patterns in your […]

Mesh Seun
Nov 2, 2018 ⋅ 6 min read

Terrible use cases for JavaScript proxies

Dev

ECMAScript 6 introduced a number of new language features to JavaScript, amongst them were proxies. Which are, in my opinion, […]

Casper Beyer
Oct 1, 2018 ⋅ 3 min read
JavaScript typeof

JavaScript typeof: Understanding type checking in JavaScript

Dev

A very important aspect of every programming language is its type system and data types. For a strictly typed programming […]

Glad Chinda
Sep 27, 2018 ⋅ 7 min read
Writing for Readability with Declarative Arrays

Writing for readability with declarative arrays

Dev

In the last few years, JavaScript has gone through some major changes. The wider adoption of ES6 and the rise […]

Adam Giese
Aug 28, 2018 ⋅ 4 min read

4 options to help you get started linting your JavaScript

Dev

You can almost always bet that a good piece of writing has been the benefactor of good editing. In this […]

Farley Reynolds
Aug 21, 2018 ⋅ 7 min read

Using trampolines to manage large recursive loops in JavaScript

Dev

I vividly remember my entrance into the world of functional programming. Ironically, I was learning about class-based JavaScript in ES5. […]

Benjamin Johnson
May 14, 2018 ⋅ 4 min read
Using Web Workers For Safe, Concurrent JavaScript

Using web workers for safe, concurrent JavaScript

Dev

Web workers provide a way to run JavaScript code outside the single thread of execution in the browser. The single […]

Bruce Wilson
Mar 26, 2018 ⋅ 11 min read

Detect location and local time zone of users in JavaScript

Dev

Detecting the location of your users can be really useful if you want to personalize your their experience when they […]

Christian Nwamba
Nov 27, 2017 ⋅ 7 min read

JavaScript Testing: Chai (Part 1)

Dev

At LogRocket, nearly our entire code base is JavaScript. Over the years, we have learned a good amount about the […]

Matt Arbesfeld
Mar 10, 2017 ⋅ 2 min read