JSFiddle - React, Tailwind, and code Playground

by darcyclarke

JavaScript

var A = function(values) {
    var _this = function(){};
    _this.store = arr;
    _this.and = function(){
    
    };
    _this.value
    return _this; 
};

A([1, 2])
    .and(duplicate())
+  .and(duplicate(0))
+  .and(duplicate(1))
+  .and(duplicate(2))
+  .value();