Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/Math/E/value.js

raw
1 // Copyright (C) 2016 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3 /*---
4 description: Math.E is a numeric value
5 esid: sec-math.e
6 es6id: 20.2.1.1
7 info: |
8 The Number value for e, the base of the natural logarithms, which is
9 approximately 2.7182818284590452354.
10
11 The precision of this approximation is host-defined.
12 ---*/
13
14 assert.sameValue(typeof Math.E, 'number');
15 assert.notSameValue(Math.E, NaN);