Example 8 added | Two examples of function overloading in Javascript