blob: 5e1cb1291eab77c8f7afe5edad551b9ede8f02b9 [file] [log] [blame]
// Copyright (c) 2016 The V8 Project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 20.1.2.5
esid: sec-number.issafeinteger
description: >
Return false if argument is NaN
info: |
Number.isSafeInteger ( number )
[...]
2. If number is NaN, +∞, or -∞, return false.
[...]
---*/
assert.sameValue(Number.isSafeInteger(NaN), false);