Get to know MDN better
This page was translated from English by the community. Learn more and join the MDN Web Docs community.
This feature is well established and works across many devices and browser versions. It’s been available across browsers since июль 2015 г..
Свойство Math.LOG10E представляет десятичный логарифм из e, приблизительно равный 0,434:
Math.LOG10E=log10(e)≈0,434\mathtt{\mi{Math.LOG10E}} = \log_10(e) \approx 0,434| Записываемое | нет |
| Перечисляемое | нет |
| Настраиваемое | нет |
Поскольку свойство LOG10E является статическим свойством объекта Math, вы всегда должны использовать его как Math.LOG10E, а не пытаться создавать экземпляр объекта Math и получать свойство от него (поскольку объект Math не является конструктором).
Следующая функция возвращает десятичный логарифм из e:
| ECMAScript® 2027 Language Specification # sec-math.log10e |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 20 янв. 2024 г. by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.