sum

We’d love to hear your thoughts on the next set of proposals for the JavaScript language. You can find a description of the proposals here.
Please take two minutes to fill out our short survey.

sum 関数は、指定されたノード集合内のそれぞれのノードの数値としての値を合計した数値を返します。

構文

sum(node-set)

引数

node-set

評価されるノード集合。 このノード集合内のそれぞれのノードが number() 関数に渡されたかのように評価され、その結果として得られた数値の合計が返されます。

返値

数値です。

メモ

なし。

定義

Gecko での対応

対応済み。