Edit in JSFiddle

// Demethodizing the Array method, forEach(),  into a generic "each"
var each = Function.prototype.call.bind([].forEach);

var nodeList = document.querySelectorAll("p");


function bold(node){
   node.style.fontWeight ="bold";
<p>“ Java is to JavaScript what Car is to Carpet. ” - Chris Heilmann</p>

<p>“ If debugging is the process of removing software bugs, then programming must be the process of putting them in. ” - Edsger Dijkstra</p>