Files: 67c0e15a98a66eb99db2251478505d6f3d37535c / test / test-50-reject-6 / test-x-index.js
165 bytesRaw
1 | /* eslint-disable require-await */ |
2 | |
3 | 'use strict'; |
4 | |
5 | async function multiply (a, b = 1) { |
6 | return a * b; |
7 | } |
8 | |
9 | multiply(5).then((result) => { |
10 | console.log(result); |
11 | }); |
12 |
Built with git-ssb-web