To get the most out of modern JavaScript, you need learn the latest features of its parent specification, ECMAScript 6 …