Browse Source

Fix `Number.MIN_VALUE` (#1513)

pull/1516/head
raskad 3 years ago committed by GitHub
parent
commit
a0c65c9f9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      boa/src/builtins/number/mod.rs

2
boa/src/builtins/number/mod.rs

@ -151,7 +151,7 @@ impl Number {
///
/// [spec]: https://tc39.es/ecma262/#sec-number.min_value
/// [mdn]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MIN_VALUE
pub(crate) const MIN_VALUE: f64 = f64::MIN;
pub(crate) const MIN_VALUE: f64 = f64::MIN_POSITIVE;
/// `Number( value )`
pub(crate) fn constructor(

Loading…
Cancel
Save