Yes, bounds checking are unnecessary, you don't need those _s() functions
- NSA director
let callTwice aFunction y = aFunction (aFunction y) function callTwice(aFunction) {
return function(y) {
return aFunction(aFunction(y));
};
}
function square(x) { return x*x; }
var squareTwice = callTwice(square);
81 === squareTwice(3);