const isNumber = val => typeof val === 'number'; isNumber('1'); // false isNumber(1); // true. 更多代码JavaScript 实用代码片段请 ...
確定! 回上一頁