I'm creating a library
Hi, I wanted to ask for some suggestions about a library I' m developing called EasyJavaScript. It' s made to make JS easier and simplier to use. I made 6 functions for now, who are: ------------------------------ copy(string to copy) => To copy to clipboard the string you ' ve specified in the 1st parameter random(max number) => To have a random number from 0 to the number you' ve specified in the 1st parameter clock() => To have the exact time with this pattern: hh:mm:ss docId(id) => It substitutes document.getElementById(id) docTag(tag, numb) => It substitutes document.getElementsByTagName(tag)[numb] docClass(class, numb) => It substitutes document.getElementsByClass(class)[numb] ------------------------------ I don' t know what to add any suggestion?