Javascript was previously known as Livescript. Its amazing what a
simple name change can do for the image of a mundane customisation language.
Javascript is a lightweight language with limited capabilities and use.
It does not appear to need the object oriented facilities of its bigger
brother Java
function mymethodg1, arg2,arg3,arg4,...) { ... } |
function the_object( arg1, arg2,arg3,arg4,...) { this.property1 = arg1 this.property2 = arg2 this.property3 = arg3 this.property4 = arg4 this.method1 = mymethod } |
my_object = the_object.new("22",1,34) my_object.mymethod() |