prodigy math game add item by id

JavaScript
Phaser.PIXI.game.prodigy.player.backpack.add("item",1);
Source

Also in JavaScript: