You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the language of your choice, write an example of:
add(1)(2) // A function that returns a function value.
each([1, 2, 3], print) // A function that takes a function parameter.
Add [language name].[language extension] source file to the root.
For example:
// javascript.jsfunctionadd(x){returnfunction(y){returnx+y}}functioneach(list,callback){for(vari=0;i<list.length;i++){callback(list[i])}}// Example usageadd(1)(2)each([1,2,3],console.log)
Please limit each pull request to one language, thank you.
Though multiple pull requests are welcome :)
The text was updated successfully, but these errors were encountered:
In the language of your choice, write an example of:
Add
[language name].[language extension]
source file to the root.For example:
Please limit each pull request to one language, thank you.
Though multiple pull requests are welcome :)
The text was updated successfully, but these errors were encountered: