読者です 読者をやめる 読者になる 読者になる

ここにタイトルが入ります

デザイン&プログラミングのことも書くし、それ以外のことも書く。

Loop processing for NodeList at JS ( ES6 )

JavaScript

Make a note as it is a frequent process.
(get some element and use it at loop processing by JavaScript)

Use for-of

See the Pen Loop processing by for-of for NodeList at JS(ES6) by Fumihiro Nakahara (@711fumi) on CodePen.

Use Array.from (If you need Array returned)

See the Pen Loop processing by Array.from for NodeList at JS(ES6) by Fumihiro Nakahara (@711fumi) on CodePen.

If I need to write in ES5, use Array.prototype.forEach.call() ?

I feel again the merit of Jquery...
Why Is it recommended to not use JQuery? is it a performance problem? Is the library large?