javascript - Why set value to true using !0 -


i've seen script in property being set true using following.

someprop: !0 

i understand evaluate true, don't understand why set property in way. there reason?

i dont think there specific reason rather matter of programming , writting code. people things going crazy , think 1 of them.

!1 means false , !0 - means true


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

python - Django-cities exits with "killed" -

python - How to get a widget position inside it's layout in Kivy? -