overte-JulianGro/script-archive/libraries/fjsExample.js
2016-04-26 11:18:22 -07:00

9 lines
No EOL
250 B
JavaScript

Script.include('fjs.js');
var fjs = loadFJS();
var concatenate = fjs.curry(function(word1, word2) {
return word1 + " " + word2;
});
var concatenateHello = concatenate("Hello");
var hi = concatenateHello("World");
print('anyone listening? ' + hi)