Y
Hacker News
new
|
ask
|
show
|
jobs
by
tuukkah
1112 days ago
I don't know why you'd need to run an example apart from when running tests. After all, the examples have been tested to output what the example says.
1 comments
multani
1112 days ago
That can be useful because the doc website turns into some kind of sandbox where you can tweak directly the test function and see the result without having to write the code yourself.
link