แก้ coding style ภาค 10
This commit is contained in:
@@ -3,6 +3,6 @@
|
||||
* @param {object} n - object to check.
|
||||
* @return {Boolean} true, if it is a number, false otherwise.
|
||||
*/
|
||||
function isNumeric(n) {
|
||||
function isNumeric (n) {
|
||||
return !isNaN(parseFloat(n)) && isFinite(n);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user