I'm new to Javascript and Phaser and I came across the following code while working on a project in Codecademy
this.tweens.add({ targets: obj, duration: 750, x: '-= 300',});
I know that the tween is to make the target obj move 300px to its left, but why does the syntax x: '-= 300' work? Is this a syntax for Javascript or only for Phaser's tween?