javascript-snippets-by-mdn
JavaScript 代码段,数据来源 https://developer.mozilla.org/zh-CN/docs/Web/JavaScript
Using
触发提示规则 [对象的前三位]+方法名
arrfrom --> Array.from(${2})
arrconcat --> ${1:array}.concat(${2})
datgetdate --> ${1:date}.getDate()
datgethours --> ${1:date}.getHours()
numisfinite --> Number.isFinite(${2})
numisnan --> Number.isNaN(${2})
proall --> Promise.all(${2})
procatch --> ${1:promise}.catch(${2})
...
| |