Some ways to call it:
To get all a elements in the document with a "info-links" class:
getElementsByClassName(document, "a", "info-links");
To get all div elements within the element named "container", with a "col" class:
getElementsByClassName(document.getElementById("container"), "div", "col");
To get all elements within in the document with a "click-me" class:
getElementsByClassName(document, "*", "click-me");