if (!max) throw new Error('randomAmount({ max }): max has to be defined!'); const n = faker.random.number({ min: min || 0, max });
確定! 回上一頁