Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
変更点 タイトルの通り 影響 一部のArrayIteratorを返すメソッド Array.prototype.keys Array.prototype.entries 概要 先日規格の仕様変更があり、V8もそれに追従した。 これ自体は小さな変更だけど、ArrayIteratorがfor-inループと同じ感じだと思っていると詰まるかも。 以下、Array.prototype.keysでの例を挙げてみる。 var i var A = [ 'a', 'b', 'c' ] // 変更前 for (i of A.keys()) console.log(i) // "0" "1" "2" typeof i // "string" // 変更後 for (i of A.keys()) console.log(i) // 0 1 2 typeof i // "number" // for-in for (
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く