16/10/12 00:01:01.78 bJD9Q0hO.net
なぜってjQueryがあるのに、わざわざそんな冗長なことを
書く必要が無いからでは?
毎回Array.prototype.slice.callとかアホらしいw
var e = document.getElementById('E');
↓
var $e = $('#E');
[...document.querySelectorAll('#E')].forEach(e => console.log(e.id));
[for (e of document.querySelectorAll('#E')) e].forEach(略);
Array.from(document.querySelectorAll('#E')).forEach(略);
Array.prototype.slice.call(document.querySelectorAll('#E'), 0).forEach(略);
↓
$('#E').each(function() { console.log(e.id) });