blob: d1049aca5c7d49381d8600328b7a8a529d6ac56a [file] [log] [blame]
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: Result of boolean conversion from boolean value is no conversion
es5id: 9.2_A3_T2
description: true and false convert to Boolean by implicit transformation
---*/
// CHECK#1
if (!(true) !== false) {
throw new Test262Error('#1: !(true) === false. Actual: ' + (!(true)));
}
// CHECK#2
if (!(false) !== true) {
throw new Test262Error('#2: !(false) === true. Actual: ' + (!(false)));
}