Created
May 12, 2018 14:40
-
-
Save khg0712/35a6eaf77cab30cbf56e65da9210e59b to your computer and use it in GitHub Desktop.
배열에서의 delete 연산자 사용
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var a = [1,2,3,4]; | |
delete a[1]; | |
console.log(a);//[1,empty,3,4] 출력 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment