0
Is it a keyword?
Why is operator highlighted in js? Is it a keyword?
5 Answers
+ 1
Where you see this?
Show me the code?
+ 1
I'm using SoloLearn app for Android 5
+ 1
IlyaVerem
I tried to search for possible answer to this doubt. But unfortunately I cannot find any result that makes sense. Operator overloading is not available in JS. And AFAIK it is not available even in Java, and I didn't see `operator` in the list of reserved keywords in here:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar#Keywords
Nor in here (less detailed)
https://www.w3schools.com/js/js_reserved.asp
Without trying to conclude anything, my only *guess* is that it is *possibly* a part of syntax highlighting feature works (as ~ swim ~ said) of code editor.
P.S. Even on Android 4.4 I see that `operator` word gets highlighted, I don't suppose it has anything to do with Android, or any O/S for that matter : )



