2011-09-07 08:35:18 +02:00
|
|
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
|
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
|
|
|
|
/**
|
2011-09-08 06:47:38 +02:00
|
|
|
* Result of boolean conversion from nonempty string value (length is not zero) is true; from empty String (length is zero) is false
|
2011-09-07 08:35:18 +02:00
|
|
|
*
|
2011-10-03 22:04:52 +02:00
|
|
|
* @path ch09/9.2/S9.2_A5_T2.js
|
2011-09-12 06:07:23 +02:00
|
|
|
* @description "" convert to Boolean by implicit transformation
|
2011-09-07 08:35:18 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
// CHECK#1
|
|
|
|
if (!("") !== true) {
|
|
|
|
$ERROR('#1: !("") === true. Actual: ' + (!("")));
|
|
|
|
}
|
|
|
|
|