new JavaScript Array

BackEnd_Ash.log·2022년 11월 18일
0

자바스크립트

목록 보기
29/29
const arrayTest = [1,2,3,4];

arrayTest.toReversed(); // [4,3,2,1]
arrayTest.toSorted(); // [1,2,3,4]
arrayTest.toSpliced(1,2); // [1,4]
arrayTest.with(1,'##'); [1,'##',3,4];
profile
꾸준함이란 ... ?

0개의 댓글