【转载】精心收集的 95 个超实用的 JavaScript 代码片段( ES6+ 编写)

30 seconds of code

Curated collection of useful Javascript snippets that you can understand in 30 seconds or less.

Table of Contents

Array

Browser

Date

Function

Math

Media

Node

Object

String

Utility