Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
95
rated 0 times [  96] [ 1]  / answers: 1 / hits: 97727  / 12 Years ago, sun, october 7, 2012, 12:00:00
var a = true;


How to get opposite value of a (false) and vice versa?


More From » javascript

 Answers
80
>>> a = true;
true
>>> !a;
false

[#82712] Friday, October 5, 2012, 12 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
pranav

Total Points: 693
Total Questions: 119
Total Answers: 119

Location: Greenland
Member since Fri, Jul 31, 2020
4 Years ago
;