2 ms·Emulating pointers in JS is pretty easy; you just wrap the values in objects or arrays.by mistercow 14y agoEmulating pointers in JS is pretty easy; you just wrap the values in objects or arrays.