mutref
v0.0.1
Published
Easy to track and debug mutable references in JavaScript
Downloads
1
Readme
MutRef
Easy to debug and track mutable references in JavaScript
const MutRef = require('mutref');
const ref = MutRef(1);
ref.modify(value => value + 5);
ref.modify(value => value - 3);
console.log(ref.inspect); // => 3