目录
当前位置: 首页 > 文档资料 > Snap.svg 英文文档 >

Set.forEach(callback, thisArg)

优质
小牛编辑
117浏览
2023-12-01

Executes given function for each element in the set

If the function returns false, the loop stops running.

Parameters

  1. callbackfunctionfunction to run
  2. thisArgobjectcontext object for the callback

Returns: object Set object