You’re probably getting this SyntaxError:
Identifier has already been declared Error in JavaScript | bobbyhadz.
Make sure to use var
instead of let
and const
in the global scope (outside of functions) or wrap your scripts in IIFEs.
You’re probably getting this SyntaxError:
Identifier has already been declared Error in JavaScript | bobbyhadz.
Make sure to use var
instead of let
and const
in the global scope (outside of functions) or wrap your scripts in IIFEs.