Introduce ES6 syntax
Author: Ankush263Created Jun 9, 2022Updated Jul 4, 2022
A lot of these Algorithms use old ES syntax ie. using the "var" key-word, or an old way of function declaration......change this to ES6 syntax,
Source: mgechev/javascript-algorithms