Math.LN2 - JavaScript - MDN Web Docs
- Skip to main content
- Skip to search
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
- Learn more
- See full compatibility
- Report feedback
The Math.LN2 static data property represents the natural logarithm of 2, approximately 0.693:
In this article
- Try it
- Value
- Description
- Examples
- Specifications
- Browser compatibility
- See also
Try it
function getNatLog2() { return Math.LN2; } console.log(getNatLog2()); // Expected output: 0.6931471805599453Value
| Property attributes of Math.LN2 | |
|---|---|
| Writable | no |
| Enumerable | no |
| Configurable | no |
Description
Because LN2 is a static property of Math, you always use it as Math.LN2, rather than as a property of a Math object you created (Math is not a constructor).
Examples
Using Math.LN2
The following function returns the natural log of 2:
jsfunction getNatLog2() { return Math.LN2; } getNatLog2(); // 0.6931471805599453Specifications
| Specification |
|---|
| ECMAScript® 2026 Language Specification# sec-math.ln2 |
Browser compatibility
See also
- Math.exp()
- Math.log()
- Math.log2()
Help improve MDN
Was this page helpful to you? Yes No Learn how to contributeThis page was last modified on Jul 10, 2025 by MDN contributors.
View this page on GitHub • Report a problem with this content Filter sidebar- Standard built-in objects
- Math
- Static methods
- abs()
- acos()
- acosh()
- asin()
- asinh()
- atan()
- atan2()
- atanh()
- cbrt()
- ceil()
- clz32()
- cos()
- cosh()
- exp()
- expm1()
- f16round()
- floor()
- fround()
- hypot()
- imul()
- log()
- log1p()
- log2()
- log10()
- max()
- min()
- pow()
- random()
- round()
- sign()
- sin()
- sinh()
- sqrt()
- sumPrecise()
- tan()
- tanh()
- trunc()
- Static properties
- E
- LN2
- LN10
- LOG2E
- LOG10E
- PI
- SQRT1_2
- SQRT2
Từ khóa » Sinh(ln2)
-
Evaluate Sinh(ln(2)) #shorts - YouTube
-
Sinh(ln(2)) - Symbolab
-
Solved Sinh(ln2)
-
Find The Numerical Value Of Each Expression. Sinh(ln 2) - Quizlet
-
How Does Sinh(ln2) Equal 3/4? I Thought It's 2 But It Isn't... Easy 10 ...
-
Phân Nước Thuỷ Sinh LN2 | Shopee Việt Nam
-
Solve 9sinh(ln2)= | Microsoft Math Solver
-
The Power Series Sinh(x) Around X=ln(2) - Math Stack Exchange
-
How Does Sinh(ln2) Equal 3/4? I Thought It's 2 But It Isn't… Easy 10 ...
-
JavaScript Math LN2 Property - W3Schools
-
Find The Following In X + Iy Form | Math Help Boards