cocos-enhance-kit/engine/polyfill/number.js

4 lines
101 B
JavaScript
Raw Normal View History

2022-06-24 16:23:03 +00:00
Number.parseFloat = Number.parseFloat || parseFloat;
Number.parseInt = Number.parseInt || parseInt;