Bug in Codesandbox's VanillaJS Container
One of my fellow students at neoG camp faced an issue while trying out some code in the Vanilla Sandbox.
The code goes like this
const array = [1, 5, 3, 5, 6, 8];
const checkFun = (num1, num2) => {
for (let i = 0; i < array.length; i++) {
if ...