Trường · Sample
Trường · Sample · string.sample. Phương thức tạo · Ví dụ
string.sample
Cài đặt trình tạo
Tạo dữ liệu để xem kết quả ở đây.
Tham số & Ví dụ
Returns a string containing UTF-16 chars between 33 and 125 (! to }).
string.sample(length?: NumberOrRange)- length
- The length of the string to generate either as a fixed length or as a length range. Defaults to 10.
- length.min
- The minimum length of the string to generate.
- length.max
- The maximum length of the string to generate.
Ví dụ
"_-Z'`HAo/1"Dùng dữ liệu tổng hợp trong môi trường kiểm thử.