odiff.js
function add(changeList, property, index, values) {
        changeList.push({
            type:'add',
            path: property,
            index: index,
            vals: values
        })
    }
function add(changeList, property, index, values) {
        changeList.push({
            type:'add',
            path: property,
            index: index,
            vals: values
        })
    }
function add ( changeList , property , index , values ) { changeList . push ( { type : 'add' , path : property , index : index , vals : values } ) }
adds an 'add' type to the changeList
adds an add type to the changeList