Let’s look at the syntax. JavaScript allEqual () Syntax const allEqual = arr => arr.every(val => val === arr[0]); This function will get an array from a parameter, and in return, it’s using every ...
In the previous session, Part 0, we confirmed the role JavaScript plays in relation to HTML/CSS. In this session, Part 1, we will carefully review the basic syntax of JavaScript one by one as ...