When calling something like this
var e = Function._validateParams(arguments, [
{ name: "target", type: Array, elementMayBeNull: true },
{ name: "index", type: Number, integer: true },
{ name: "deserializing", type: Boolean, optional: true }
]);
what does the optional property mean? I was expecting it to mean that I could omit that parameter entirely, but I'm getting an exception that the parameter cannot be undefined. It seems to be looking for mayBeNull instead. So what does optional do?