Es6-math-property-sqrt2

提供:Dev Guides
2020年6月23日 (火) 08:04時点におけるMaintenance script (トーク | 投稿記録)による版 (Imported from text file)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

ES6-Math-SQRT2プロパティ

2の平方根、約1.414。

構文

Math.SQRT2

console.log(Math.SQRT2) //the square root of 2: ~1.414

出力

1.4142135623730951