cocos-enhance-kit/engine/polyfill/number.js
2022-06-25 00:23:03 +08:00

4 lines
101 B
JavaScript

Number.parseFloat = Number.parseFloat || parseFloat;
Number.parseInt = Number.parseInt || parseInt;