Converts a value to a finite number
将值转换为有限数字
The value to convert. 要转换的值
The converted finite number, or NaN if conversion is not possible or result is not finite. 转换后的有限数字,如果无法转换或结果不是有限数字则返回 NaN
toFinite(42) // => 42toFinite(Infinity) // => NaNtoFinite('hello') // => NaN Copy
toFinite(42) // => 42toFinite(Infinity) // => NaNtoFinite('hello') // => NaN
Converts a value to a finite number
将值转换为有限数字