Buy me a coffee
TypeScript
›
배열
›
fill
fill
배열
배열의 지정 범위를 값으로 채웁니다.
문법
array.fill(value, start?, end?): T[]