Tag: javascript

Total 144 Posts

Compare Two Dates in JavaScript

Introduction

Dates are a really common data type developers work with. From timestamps of certain actions, to reports, sign up features and limited-time access in systems that require subscriptions - we oftentimes have to compare dates.

That is, we compare if a date is after or before another, if the

Continue Reading

JavaScript: == vs === Operator

Introduction

Comparison operators are used in logical statements to determine whether two variables or objects are equal by some already set or custom defined criteria. If the two variables or objects are deduced to be equal the operator returns true, and false if they aren't.

Comparison operators in JavaScript are:

Continue Reading