blob: 27162340b760d3179a2e61e69b3337c708e299c0 [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: Operator use ToString
esid: sec-parseint-string-radix
description: Checking for boolean primitive
---*/
assert.sameValue(parseInt(true), NaN, "true");
assert.sameValue(parseInt(false), NaN, "false");