1. 🗡 offer67. Convert characters to integers (‘0′< characters <‘9’ are numbers)Answer key
2. 856. Brackets match to calculate scoresAnswer key
A little bit of knowledge here, is that the string changes a single character, like the following does not change;
let str = 'fooag';
str[5] = 'f';
console.log(str);//fooag
let arr = [2.4.5];
arr[0] = 7;
console.log(arr);//[7, 4, 5]
Copy the code