Skip to content

ofd.js对项目全局的for in循环有影响 #96

Open

Description

@maxli323

for(let key in list)
引入ofd之后,key值会多出一个值pipeline,导致循环出错

Activity

  1. wangstar commented on Nov 14, 2023

    @wangstar

    我之前也遇到了我是这么处理的。
    Object.defineProperty(Array.prototype, "pipeline", {
    enumerable: false,
    });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions