if ( arr . length > 10). return arr . slice (0, 10). return arr. } TypeScript adds natural syntax for providing types. TypeScript file ...
確定! 回上一頁