extend

sb.extend(obj, obj2);

var spells = {"fire": 5, "ice": 4};
var newspells = {"electro": 6, "wind": 7};
sb.extend(spells, newspells);
-> {"fire": 5, "ice": 4, "electro": 6, "wind": 7}

results matching ""

    No results matching ""