Commit d373826e authored by 张芳利's avatar 张芳利

作者信息等

parent d1afb838
Pipeline #15689 failed with stage
--- ---
title: 浅谈Proxy title: Map和Object
date: 2022/3/29 12:05:17 date: 2022/4/26 10:00:00
tags: tags:
- vue3 - map
- proxy - object
author: 张芳利 author: 张芳利
--- ---
...@@ -311,7 +311,7 @@ obj[Symbol.iterator] = function() { ...@@ -311,7 +311,7 @@ obj[Symbol.iterator] = function() {
let nextIndex = 0; let nextIndex = 0;
return { return {
next: function () { next: function () {
let array = Object.values(obj) let array = Object.values(obj)
return nextIndex < array.length ? { return nextIndex < array.length ? {
value: array[nextIndex++], value: array[nextIndex++],
done: false done: false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment