Guangning Yu's Blog
Home
Code
Data
Setup
Industry
MachineLearning
Archive
Javascript Basics
2019-02-17 01:40:29
|
Javascript
# select last element in array ```javascript my_array.slice(-1)[0] ``` ``` my_array.pop() ```
Previous:
Git Basics
Next:
微信小程序组件与接口