Recently, working with JavaScript in the Developer Tool, I found a strange function. Chrome takes any code between the opening bracket with the operator (plus, minus sign) and the operator with closing brackets and executes it like this: 
I did not find this behavior in other browsers, only in Chrome.
Maybe this is a feature, but why and how it works, maybe there is a problem with the JavaScript engine?
javascript google-chrome google-chrome-devtools v8
Alex Saskevich
source share