A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Operators/Multiplication below:

乗算 (*) - JavaScript | MDN

乗算 (*)

Baseline Widely available

乗算演算子 (*) はオペランドの積を生成します。

試してみましょう
console.log(3 * 4);
// Expected output: 12

console.log(-3 * 4);
// Expected output: -12

console.log("3" * 2);
// Expected output: 6

console.log("foo" * 2);
// Expected output: NaN
構文 例 数値を用いた乗算
2 * 2; // 4
-2 * 2; // -4
無限大との乗算
Infinity * 0; // NaN
Infinity * Infinity; // Infinity
非数との乗算 仕様書 ブラウザーの互換性 関連情報

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4