Optional Parameter in JavaScript Function

Yes you heard it right, C# brought optional parameter in version 4.0 however it is part of JavaScript from beginning of the language design. JavaScript function, Does not do any type checking on argument values Does not do any checking on number of arguments passed There are three ways you can call a function in […]

Reflection in JavaScript

While working with JavaScript you may come across a scenario when you need to reflect type of a particular property. Let us say you have an object Student like following, If you want to find type of students object property like name and marks you can get them as following, Now go ahead and fetch […]