4 ms·
Looks like the readme example doesn't work. I didn't compile the djs sayHello function to verify it matches the given javascript, but running sayHello("nyc") sp
by arknave 12y ago
Looks like the readme example doesn't work. I didn't compile the djs sayHello function to verify it matches the given javascript, but running sayHello("nyc") spits out
Hello to undefined, nyc
You didn't tell me your age
When I'd assume you wanted
Hello to nyc, Tim
You didn't tell me your age
- chmod775 12y agoThe first argument is the name, the second is city. If you give a third, the second will be your age and the third your city. Example: sayHello('Andreas', 'Berlin') sayHello('Andreas', 21, 'Berlin')