Award winning front end developer. Twenty four years in adopting new technologies, mentoring others, team building and individual projects.
Pinned Loading
-
-
Currying with defaults in javascript
Currying with defaults in javascript 1function f(input) {
2const returnable = function(input = '', inString = '') {
3if (input) {
4return 'f' + (inString?inString:'') + input
5}else {
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.