Champ · Octal

Champ · Octal · string.octal. Méthode de génération · Exemple

string.octal

Options du générateur

Générez des données pour les voir ici.

Paramètres & Exemple

Returns an octal string.

string.octal(options?: { length?, prefix? })
options
The optional options object.
options.length
The length of the string (excluding the prefix) to generate either as a fixed length or as a length range. Defaults to 1.
options.prefix
Prefix for the generated number. Defaults to '0o'.

Exemple

"0o5"

Utilisez des données synthétiques dans un environnement de test.

Générateurs associés

Explorer les scénarios