Let's take this incorrect JavaScript code, and see how TypeScript can catch mistakes in your editor. js. function compact ( arr ) {. if ( orr . length > 10).
確定! 回上一頁