examples: intro a README file to emscripten examples
[nit.git] / examples / emscripten / README.md
1 # Hello world
2
3 Minimal example using the standard Nit hello world program. The Nit code will be evaluated and executed once as soon as it is loaded. Standard output is redirected to the `console` element.
4
5 # Fibonacci
6
7 The Nit program is executed only when an input is supplied. The input is passed as the main arguments.
8
9 This is not ideal, the whole Nit program is executed at each call.