I am learning JavaScript and have come across of the structure below:
var Test = (function () { function func1() { //do something..... } functi
That works like a class in other programming languages. Therefore, you can access the public func1 member using Test.func1 and call it like a normal function using Test.func1().
func1
Test.func1
Test.func1()