1. 首页
  2. 文档
  3. Traversal array

白皮书下载

实在智能Agent产品白皮书(7.2.0).pdf

Traversal array

发刊日期:
2021/10/15

编辑团队:
实在学院

1、 Video example

 

2、 Function description

Each value in the array is accessed in turn, and the accessed value is saved in the same variable each time.

 

3、 Attribute description

● value: used to save values for each access.

● array: select the array you want to traverse. It supports manual input of the array. You need to use [] to include the whole array. Different values are separated by. Supports direct selection of variables from the variable library.

执行JS属性

 

4、 Use example

1. Execution logic

In this example, first initialize an array, and print all the values in the array by traversing the array.

执行JS示例

2. Output results

执行JS结果

 

企业培训
技术支持
加入社群
公众号
实在智能Agent学习群
扫码关注微信公众号