Overloading method in javascript

Since i’m going to write some code for the client side, I have to start learning OO javascript. What makes me surprise the most is how it is written. here are some codes i have tested:


as you can see in the code, i only create one function, however i can call in different ways. This is how dynamic Javascript is. Really Really dynamic!!!!

Leave a comment

0 Comments.

Leave a Reply

( Ctrl + Enter )