Flight Number生成器
Flight Number生成器 · airline.flightNumber. 生成方法 · 示例
airline.flightNumber
生成设置
生成后在这里查看结果。
参数 & 示例
Returns a random flight number. Flight numbers are always 1 to 4 digits long. Sometimes they are used without leading zeros (e.g.: American Airlines flight 425) and sometimes with leading zeros, often with the airline code prepended (e.g.: AA0425).
airline.flightNumber(options?: { length?, addLeadingZeros? })- options
- The options to use.
- options.length
- The number or range of digits to generate. Defaults to { min: 1, max: 4 }.
- options.addLeadingZeros
- Whether to pad the flight number up to 4 digits with leading zeros. Defaults to false.
示例
"260"请在测试环境使用合成数据。