Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Number.prototype.toPrecision #962

Merged
merged 9 commits into from
Dec 17, 2020
Prev Previous commit
Next Next commit
Corrected links in documentation for Number.prototype.toPrecision
  • Loading branch information
NathanRoyer committed Dec 16, 2020
commit b2654acce93fe3b0cc04010828c8722128822cd6
4 changes: 2 additions & 2 deletions boa/src/builtins/number/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
//! - [ECMAScript reference][spec]
//! - [MDN documentation][mdn]
//!
//! [spec]: https://tc39.es/ecma262/#sec-number-object
//! [mdn]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number
//! [spec]: https://tc39.es/ecma262/#sec-number.prototype.toprecision
//! [mdn]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toPrecision

use super::function::make_builtin_fn;
use crate::{
Expand Down