Skip to content

Commit

Permalink
Add section about repl
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Feb 10, 2023
1 parent e9567bf commit f9dc248
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,19 @@ See the section about [Test runner](https://nodejs.org/docs/latest-v18.x/api/tes
Builds the app for production to the `build` folder.<br />
It correctly bundles React in production mode and optimizes the build for the best performance.

## How to run repl

```ts
npx tsx
> const n: string = 42; // You can write with TypeScript except actual type checking
> const { shuffleArray } = await import('./src/common/listHelpers');
undefined
> shuffleArray([1, 2, 3, 4, 5]);
[ 4, 2, 1, 3, 5 ]
> shuffleArray([1, 2, 3, 4, 5]);
[ 3, 2, 1, 4, 5 ]
```

## How to update contributors list

Members will update the list with this command after merging your PR.
Expand Down

0 comments on commit f9dc248

Please sign in to comment.