Re:Show HN: I built an extension of JavaScript in a day
by arknave on Saturday August 16, 2014 @04:53PM
(#8187538)
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
When I'd assume you wanted
[ Parent
| on HN ]
Re:Show HN: I built an extension of JavaScript in a day
by chmod775 on Saturday August 16, 2014 @05:02PM
(#8187570)
The 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')