es6------------------------------學習筆記

import { Agent } from "http";es6   // es6新增塊做用域 聲明變量const和 let做用於塊web // const聲明的常量不能夠從新賦值,可是對象能夠發生改變ajax function test() {正則表達式 const PI = 3.14;npm const k = {編程 a: 1數組 }promise k.b = 3;瀏覽器 // 輸出爲obj
相關文章
相關標籤/搜索