SYNCERのロゴ
アイキャッチ画像

Math.LN10 - 数学定数のlog(e)10、10の自然対数(約2.30258)

Math.LN10は、数学定数のlog(e)10、10の自然対数(約2.30258)を返す静的プロパティです。

概要

名前
LN10
所属
Math
Writable
no
Enumerable
no
Configurable
no
仕様書
https://tc39.github.io/ecma262/#sec-math.ln10

デモ

Math.LN10のデモです。

<!-- このコードは編集できます。 -->

<!DOCTYPE html>
<html>
<head>
	<style>
body {
	white-space: pre-wrap ;
}
	</style>
</head>
<body>
<script>
/** try it! **/
var a = Math.LN10 ;
/** try it! **/

var results = { a:a, } ;

for( var name in results ) {
	console.log( name, results[name] ) ;
	document.body.appendChild( new Text( name + " = " + results[name] + "\n" ) ) ;
}
</script>
</body>
</html>

サポート状況

ChromeFirefoxSafariEdgeIEOperaiOS SafariAndroid
  • Twitterでシェア
  • Facebookでシェア
  • Google+でシェア
  • はてなブックマークでシェア
  • pocketに保存
  • LINEでシェア
更新履歴
2017年9月26日 (火)
コンテンツを公開しました。