How can I set a value of a variable, as if it were an equation?
In this case I will have:
var a = document.body.scrollWidth;
var b = 500;
var x = null;
What I need to do is find a number such that a - x = b
, regardless of the size of a