You’ve probably worked with some OOP language in the past. You probably know how the typical syntax of OOP looks in any language (well in the most popular ones at least) . It looks something like this:
class MyClass {
// The constructor
public function MyClass(){
}
// Some private method
private function _someFunction(){
}
}
Well JavaScript is one kind of a different beast.