Usage of this class is highly experimental, and I would not reccommend using it yet.
The operator can perform math using the following:
Most of these functions work in a chain, and also take in the current value as an answer. I am working on fixing the errors that are present, as well as making it easier to use. The current Operator class can be used like so:
//Using the EXPERIMENTAL Operator Class
let vas = new Vas();
vas.gameArea.start();
vas.operate.sum(4, 5).value; //should equal 9
vas.operate.multiply(2).value; //Should equal 18, as it continued from the previous answer.
vas.operate.divide(10).modulus().pow(3); //Should equal 8
vas.operate.concat([1, 2], [3, 4]).value; //Should equal [1, 2, 3, 4]
vas.sum([1, 2, 3, 4]).value; //Should equal 10