node js class main method code example Example: how to create class in javascript class ClassName { }