Skip to content

parseInt

因此当对非常大或非常小的数字使用数字时,使用 parseInt 截断数字将产生意外结果。parseInt 不应替代 Math.floor()。