Internet Explorer No support
Polyfill
Number.isNaN = Number.isNaN || function(value) {
return typeof value === 'number' && isNaN(value);
}
// Or
Number.isNaN = Number.isNaN || function(value) {
return value !== value;
}
@reference_1_mozilla
No comments:
Post a Comment