Advertisement
Guest User

Programmer before me, why u do dis???

a guest
Feb 24th, 2015
2,829
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //I think yesNo is the state of the switch
  2. If (!(button.hidden = !yesNo)) {//button is hidden if switch is off?
  3.     //
  4. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement