I am aware of it being frowned upon to do something like write C# in JavaScript. (see this if you don't know what I'm talking about)
But as a judgement call, I think we could stand to have a relatively simple check for values that are null or empty, so I'm looking for feedback on this implementation of String.isNullOrEmpty.
String.isNullOrEmpty = function (value) {
return (!value || value == undefined || value == "" || value.length == 0);
}
toStringonvalue? \$\endgroup\$return !value;suffice? \$\endgroup\$