Min JS inicial
$('p').forEach(function (el, index) {
console.log(el.innerHTML);
});
Shy Sable
$('p').forEach(function (el, index) {
console.log(el.innerHTML);
});
$('a').href = '/some-place.html';
$('a').on('foo', bar).on('click', doclick).trigger('foobar');