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.
5 esid: sec-number.prototype.toexponential
7 Return abrupt completion from ToInteger(symbol fractionDigits)
9 Number.prototype.toExponential ( fractionDigits )
11 1. Let x be ? thisNumberValue(this value).
12 2. Let f be ? ToInteger(fractionDigits).
19 assert.throws(TypeError, function() {
20 NaN.toExponential(fd);