개발/Web

[js] Array 마지막 값 추출

Juyeon Ji 2020. 10. 29. 12:57
Python Javascript
arra[-1] array[array.length-1]
array.slice(-1)[0]
저작자표시 비영리 변경금지 (새창열림)