tencent cloud

Performance Testing Service

Related Agreements
Service Level Agreement
Use Limits
Privacy Policy
Data Processing And Security Agreement
DokumentasiPerformance Testing Service

util.uuid

Mode fokus
Ukuran font
Terakhir diperbarui: 2025-03-10 17:23:46
During the script execution, util.uuid is used to generate a uuid, utilizing version 4 of the UUID specification.
uuid(): string

Return

Type
Description
string
uuid string.

Samples

Call util.uuid:
import util from 'pts/util';

export default function () {
console.log(util.uuid()) // 5fbf1e59-cabf-469b-9d9f-6622e97de1ec
}


Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan