자바 스크립트에서 이중 부정 (!!)-목적은 무엇입니까? [복제] 가능한 중복 : 무엇입니까! JavaScript가 아닌 연산자입니까? 이 코드를 발견했습니다 function printStackTrace(options) { options = options || {guess: true}; var ex = options.e || null, guess = !!options.guess; var p = new printStackTrace.implementation(), result = p.run(ex); return (guess) ? p.guessAnonymousFunctions(result) : result; } 그리고 왜 이중 부정이 궁금 할 수 없었습니까? 같은 효과를 얻을 수있는 다른 방법이 있습니까? (..