const arr = [[10,30],[20,60]]
function func(arr) {
const tmp = []
arr.map((item) => {
item.map(el => {
tmp.push(el)
});
});
arr.length = tmp.length
tmp.map((item, i) => {
arr[i] = item
})
}
func(arr)
console.log(arr)
Starting VS Code 1.65, extensions now use the [language status item API][] instead of
manually adding a button to the status bar. That means the PowerShell icon button in the
status bar now exists under the language status menu, which looks like: `{}`. You can then
pin the icon back to the status bar by hovering over that menu and clicking the pin
button. The PowerShell icon will show you the current session's version, and clicking it
will let you change to another session. The language status icon will only appear when the
active editor's language mode is PowerShell.
Control + Cmd + Space