It is available in JS too:<p><pre><code>    function double(str) {
      return str+&#x27;, &#x27;+str;
    }
    function ucase(str) {
      return str.slice(0,1).toUpperCase()+ str.slice(1);
    }
    function exclamation(str) {
      return str+&quot;!&quot;;
    }
    
    var _=&quot;hello&quot;;
    _ = double(_);
    _ = ucase(_);
    &#x2F;&#x2F; _ = foo(_);
    _ = exclamation(_);
    
    console.log(_); &#x2F;&#x2F; Hello, hello!
    
    function pipe() {
      var functions=[];
      for(var i=0; i&lt;arguments.length; i++) {
        functions[i]=arguments[i];
      }
      return function pipe_call(arg) {
        for(var i=0; i&lt;functions.length; i++) {
          arg=functions[i](arg);
        }
        return arg;
      }
    }
    
    var _=&quot;hello&quot;;
    _ =pipe(
      double,
      ucase,
      &#x2F;&#x2F; foo,
      exclamation
    )(_);
    console.log(_); &#x2F;&#x2F; Hello, hello!</code></pre>