1.如果之前使用brew install node安裝過(guò)node,需要先執(zhí)行brew unlink node來(lái)'解綁'node 2.查找可用的node版本brew searc...
1.如果之前使用brew install node安裝過(guò)node,需要先執(zhí)行brew unlink node來(lái)'解綁'node 2.查找可用的node版本brew searc...
let arr = [3, 2, {a: 1}, 1, {a: 1}, 1]; function ana(arr) { let newArr = []; let un...
一、Pomise.all的使用 Promise.all可以將多個(gè)Promise實(shí)例包裝成一個(gè)新的Promise實(shí)例。同時(shí),成功和失敗的返回值是不同的,成功的時(shí)候返回的是一個(gè)結(jié)...
1.驗(yàn)證手機(jī)號(hào) /^1[3|5|6|7|8]\d{9}$/ 2.驗(yàn)證密碼(6-16位字母/數(shù)字/下劃線(xiàn)------三選二) /^(?![0-9]+$)(?![a-zA-Z]+...
python2中識(shí)別中文: #-*-coding:utf-8 -*- 單行注釋使用:#注釋內(nèi)容 多行注釋使用:'''注釋內(nèi)容'''或"""注釋內(nèi)容""" 鍵盤(pán)輸入:input...
一.Linux命令格式: 命令 選項(xiàng) 參數(shù)1 參數(shù)2 command [-options] [parameter1] [parame...