기타/프로그래밍 관련

JavaScript Bool을 true 에서 false로 자동으로 바꾸기

WebHack 2014. 7. 9. 14:27

 var state = true;

 state = !state;