Get to know MDN better
このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2015年7月.
Math.sin() 静的メソッドは、ラジアンの数値の正弦 (サイン) を返します。
ラジアンで角度を表す数値です。
x の正弦(サイン)で、 -1 と 1 の両端を含む範囲です。 x が Infinity であった場合は -Infinity となり、 NaN であった場合は NaN を返します。
sin() は Math の静的メソッドであるため、生成した Math オブジェクトのメソッドとしてではなく、常に Math.sin() として使用するようにしてください (Math はコンストラクターではありません)。
| ECMAScript® 2027 Language Specification # sec-math.sin |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2025年10月2日 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.