ServiceNow interview question

Build a singleton class in javascript