Поле · Word
Поле · Word · lorem.word. Метод генерации · Пример
lorem.word
Настройки генератора
Создайте данные для просмотра результатов.
Параметры & Пример
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'.
Пример
"sordeo"Используйте синтетические данные в тестовой среде.