JSFiddle - React, Tailwind, and code Playground by seong gyun jeon October 16, 2012 JavaScript var a = [1, 2, 3]; // 배열의 마지막 원소를 반환하고 제거한다. console.log(a.pop()); console.log(a);