Trường · Word
Trường · Word · lorem.word. Phương thức tạo · Ví dụ
lorem.word
Cài đặt trình tạo
Tạo dữ liệu để xem kết quả ở đây.
Tham số & Ví dụ
Generates a word of a specified length.
lorem.word(options?: number | { length?: NumberOrRange; strategy?: LengthStrategyType; })- options
- The expected length of the word or the options to use.
- options.length
- The expected length of the word.
- options.strategy
- The strategy to apply when no words with a matching length are found. Defaults to 'fail'.
Ví dụ
"sordeo"Dùng dữ liệu tổng hợp trong môi trường kiểm thử.