var str = '1';
if (isNaN(str)) {
	alert('不是number类型');
} {
	alert('是number类型');
}