JSFiddle - React, Tailwind, and code Playground

by Alexander

Babel + JSX

var mem = {};
function mov(s1) { return s2 => mem[s1[0]] = s2[0] }
function add(s1) { return s2 => mem[s1[0]] + mem[s2[0]] }
function print(s1) { console.log(mem[s1[0]]) }













































































mov   `ax` `2`
mov   `dx` `3`
add   `ax` `dx`
print `ax`