gpt4 book ai didi

javascript - 如何引用包含对象?

转载 作者:行者123 更新时间:2023-11-29 15:42:34 26 4
gpt4 key购买 nike

<分区>

我需要引用 A.ns。我希望这样做:

this.ns

A 中访问 ns 但它不起作用。

var SStorage = FOO.support({
Name: 'SStorage',

// non functions

A: {
storage: null,
ns: 'FOO_',
len: null, // should hold the length of the string in ns:
indicator: 'FOO_h_token'
},

我得到了错误

未定义

来自 A.

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com