From 8dc9d45872cb24f924dca5277e048db57c1a85ef Mon Sep 17 00:00:00 2001 From: koneMorris1625 Date: 2021年10月14日 12:19:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=91=E7=8C=9C=E5=8E=9F=E6=9C=AC=E7=9A=84?= =?UTF-8?q?=E6=98=AF=E4=B9=A6=E5=86=99=E9=94=99=E8=AF=AF,=20=E7=94=A8`Map`?= =?UTF-8?q?=E5=BE=88=E6=9C=89=E8=AF=AF=E5=AF=BC,=20=E6=89=80=E4=BB=A5?= =?UTF-8?q?=E6=94=B9=E6=88=90`Stack`.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...225円357円274円210円344円270円211円357円274円211円346円240円210円.md" | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git "a/assets/doc/03_JavaScript346円225円260円346円215円256円347円273円223円346円236円204円344円270円216円347円256円227円346円263円225円357円274円210円344円270円211円357円274円211円346円240円210円.md" "b/assets/doc/03_JavaScript346円225円260円346円215円256円347円273円223円346円236円204円344円270円216円347円256円227円346円263円225円357円274円210円344円270円211円357円274円211円346円240円210円.md" index e48df7b..55aa4d0 100644 --- "a/assets/doc/03_JavaScript346円225円260円346円215円256円347円273円223円346円236円204円344円270円216円347円256円227円346円263円225円357円274円210円344円270円211円357円274円211円346円240円210円.md" +++ "b/assets/doc/03_JavaScript346円225円260円346円215円256円347円273円223円346円236円204円344円270円216円347円256円227円346円263円225円357円274円210円344円270円211円357円274円211円346円240円210円.md" @@ -59,7 +59,7 @@ ```js // 栈结构的封装 -class Map { +class Stack { constructor() { this.items = []; } @@ -133,8 +133,8 @@ console.log(stack.toString()); //--> 1 2 ```js function dec2bin(dec) { - // new 一个 Map,保存余数 - const stack = new Map(); + // new 一个 Stack,保存余数 + const stack = new Stack(); // 当不确定循环次数时,使用 while 循环 while (dec> 0) {

AltStyle によって変換されたページ (->オリジナル) /