Last change
on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
255 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | var $ = require('../internals/export');
|
---|
| 2 |
|
---|
| 3 | var log = Math.log;
|
---|
| 4 | var LOG10E = Math.LOG10E;
|
---|
| 5 |
|
---|
| 6 | // `Math.log10` method
|
---|
| 7 | // https://tc39.es/ecma262/#sec-math.log10
|
---|
| 8 | $({ target: 'Math', stat: true }, {
|
---|
| 9 | log10: function log10(x) {
|
---|
| 10 | return log(x) * LOG10E;
|
---|
| 11 | }
|
---|
| 12 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.