Guangning Yu's Blog

Webpack4 Setup

2019-02-12 15:42:38  |  Javascript

Javascript Basics

2019-02-16 17:40:29  |  Javascript

select last element in array

  1. my_array.slice(-1)[0]
  1. my_array.pop()