Adds the function to an object that returns a parameter value or a default value (in case of parameter is missing in object)
Use cases:
- Options backward compatability
- Local and global parameters (global as defaults)
- Getting missing localization strings
Example:
var obj = {