summaryrefslogtreecommitdiff
path: root/test/suite/ch09/9.2/S9.2_A3_T2.js
blob: 393af609d54d69f9aadc4c35ca4f1a25d8afbb7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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) {
  $ERROR('#1: !(true) === false. Actual: ' + (!(true)));	
}

// CHECK#2
if (!(false) !== true) {
  $ERROR('#2: !(false) === true. Actual: ' + (!(false)));
}