Is there a function in JavaScript that returns the default value for a type name that is passed to it? For example:
var defaultValue = built_in_getDefaultValue(\
The default value of any variable in javascript is undefined. You can also get it as
undefined
var defaultValue = void 0;