Some practice interview problems in javascript.