view functions for certain class js code example Example: how to create class in javascript class ClassName { }