V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
TomatoYuyuko
V2EX  ›  问与答

大佬们写 js 有遇到过 circular object Array 吗

  •  
  •   TomatoYuyuko · 2021-03-30 18:46:04 +08:00 · 487 次点击
    这是一个创建于 1122 天前的主题,其中的信息可能已经有所发展或是发生改变。

    查到了一个帖子但是没看明白究竟是怎么产生的 我之前也遇到过,摸不着头脑 https://stackoverflow.com/questions/60794998/circular-object-array-returned-when-attempting-to-extract-contiguous-sub-arrays

    1 条回复    2021-03-30 19:03:32 +08:00
    ryncv
        1
    ryncv  
       2021-03-30 19:03:32 +08:00
    一般是存在循环引用了,在 stringify 容易出现
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   4841 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 09:52 · PVG 17:52 · LAX 02:52 · JFK 05:52
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.