Array.values

Array.values

Array.values

功能

返回数组浅拷贝。

语法

参数

无参数。

返回值

类型说明
Array返回新的数组值。

示例

注意事项

  • 引用类型元素仍保持引用语义。