Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What do +++ and --- mean in JavaScript? [closed]

My work is based on JSLint. I saw that JSLint is able to handle +++ and --- operator. I searched these operator on Internet but found nothing.

What do these two operators mean in JavaScript?

like image 968
StarPinkER Avatar asked Feb 14 '23 13:02

StarPinkER


1 Answers

There is no such operator. +++ is parsed as ++ +. Writing code with this in it is usually a bad idea.

like image 76
user2357112 supports Monica Avatar answered Feb 17 '23 02:02

user2357112 supports Monica