your example is invalid, because it’s a typeError not a syntaxError.
here:
console.log(‘hi’)
console.log(‘hi’))
SyntaxError: Unexpected token
your example is invalid, because it’s a typeError not a syntaxError.
here:
console.log(‘hi’)
console.log(‘hi’))
SyntaxError: Unexpected token
--
Front-end web developer and graduate student from Microverse.
Love podcasts or audiobooks? Learn on the go with our new app.