Skip to content

YY. H

通用工具,一般提供一些常用的工具方法

creation

  • constructor()

method

TIP

static 表示静态方法, 即对象直接访问, 无需new

static uuid()

  • 获取一个随机的 uuid
  • 参数
  • 返回值: String
js
const id = YY.H.uuid();

This document is generated by vitepress and Edit by deyihu