Mark As Completed Discussion

Simple Router Function

Here's an example of a simple router function: one function handling multiple paths using only standard lib parsing.

JAVASCRIPT
OUTPUT
:001 > Cmd/Ctrl-Enter to run, Cmd/Ctrl-/ to comment