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
Post a Comment