BVB Source Codes

reactide Show es6.number.to-precision.js Source code

Return Download reactide: download es6.number.to-precision.js Source code - Download reactide Source code - Type:.js
  1. 'use strict';
  2. var $export      = require('./_export')
  3.   , $fails       = require('./_fails')
  4.   , aNumberValue = require('./_a-number-value')
  5.   , $toPrecision = 1..toPrecision;
  6.  
  7. $export($export.P + $export.F * ($fails(function(){
  8.   // IE7-
  9.   return $toPrecision.call(1, undefined) !== '1';
  10. }) || !$fails(function(){
  11.   // V8 ~ Android 4.3-
  12.   $toPrecision.call({});
  13. })), 'Number', {
  14.   toPrecision: function toPrecision(precision){
  15.     var that = aNumberValue(this, 'Number#toPrecision: incorrect invocation!');
  16.     return precision === undefined ? $toPrecision.call(that) : $toPrecision.call(that, precision);
  17.   }
  18. });
downloades6.number.to-precision.js Source code - Download reactide Source code
Related Source Codes/Software:
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
postal - 2017-06-11
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top