Unwatch
From PlainOldWebserver
unwatch()
unwatch() cancels a watch().
var c = 2;
function handle_it(id,old_val,new_val) {
document.writeln(id+" is now "+new_val);
return new_val;
}
watch("c", handle_it);
c = 3;
unwatch("c");
c = 4;
Result:
c is now 3
