Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何将数组项拉入变量中:假设这是我的文档:
{ name: 'Vor', nums: [1,2,3,4,5] }
如何创建一个包含所有这些项目的数组?
像my_nums = ...
my_nums = ...
嗯,不就是: var my_nums = doc.nums 吗?