src/libs/bobject.js
function (kvp) {
        for (var x in kvp) {
            if (kvp.hasOwnProperty(x)) {
                this.set(x, kvp[x]);
            }
        }
    }
function (kvp) {
        for (var x in kvp) {
            if (kvp.hasOwnProperty(x)) {
                this.set(x, kvp[x]);
            }
        }
    }
function ( kvp ) { for ( var x in kvp ) { if ( kvp . hasOwnProperty ( x ) ) { this . set ( x , kvp [ x ] ) ; } } }
Set multiple propertys in one go

@param {Object} kvp An Object where the key is a property name and the value is the value to assign to the property

@example
var props = {
monkey: 'ook',
cat: 'meow',
dog: 'woof'
};
foo.setValues(props);
console.log(foo.get('cat')); // Logs 'meow'
Set multiple propertys in one go