Answer the question
In order to leave comments, you need to log in
Why is the ":" symbol highlighted in red?
I use version 10.16.0, also tried 12.18.3, but the result is the same.
When hovering over an error (":") says "Expected"," . I did all this from the video https://www.youtube.com/watch?v=3aGSqasVPsI 34:00
Answer the question
In order to leave comments, you need to log in
The author of the video uses WebStorm, this is what the 'anything' handler looks like. Everything else is substituted by the code editor. Look only at what the author does, and not at what appears out of nowhere.
emitter.on('anything', data => {
console.log()
})
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question