忘れないためにメモ
Number.isNaN = Number.isNaN || function(any) {
return typeof any === 'number' && isNaN(any);
};
使用例
if(Comparison == 0 || Comparison== null || Comparison== undefined || Number.isNaN(Comparison)){
processing.......
}
More than 5 years have passed since last update.
忘れないためにメモ
Number.isNaN = Number.isNaN || function(any) {
return typeof any === 'number' && isNaN(any);
};
使用例
if(Comparison == 0 || Comparison== null || Comparison== undefined || Number.isNaN(Comparison)){
processing.......
}
Register as a new user and use Qiita more conveniently