Open xgqfrms opened 4 years ago
const str = `1234567`; const num = +str; // 1234567
Chrome DevTools
https://developers.google.com/web/updates/2019/12/devtools#redeclarations
copy(JSON.stringify(JSON.parse(temp1), null, 4)); copy(JSON.stringify(JSON.parse(temp2), null, 4));
https://www.cnblogs.com/xgqfrms/p/12376527.html
js parse string to number