Looks confusing at first, but I found it nice for accessing a month array.
const months = ["Jan", "Feb", ...];
months[0] === "Jan";
const label = months[date.getMonth()];
Looks confusing at first, but I found it nice for accessing a month array.
const months = ["Jan", "Feb", ...];
months[0] === "Jan";
const label = months[date.getMonth()];
joke aside, story point can be quite arbitrary
npm ruin dev
npm ruin lint
npm ruin build
By banishing the bad part of the language with linter.
For instance, standard eslint preset has rules that enforce usage of
===
, https://eslint.org/docs/latest/rules/eqeqeqThese rules often come with project starter template