Nuxt/test/fixtures/basic/server/api/random.ts

4 lines
115 B
TypeScript
Raw Normal View History

export default eventHandler(() => {
return new Array(10).fill(0).map(() => Math.round(Math.random() * 10000))
})