imports/vx/client/code/ux.js
/**
     * Clone an object (data) omitting certain properties.
     *
     * @param {object} data Data object to be cloned.
     * @param {array} keys Keys of properties to be omitted.
     */
Clone an object (data) omitting certain properties.
@param {object} data Data object to be cloned.
@param {array} keys Keys of properties to be omitted.
Clone an object ( data ) omitting certain properties . @param { object } data Data object to be cloned . @param { array } keys Keys of properties to be omitted .
omit(data, keys) {
        let result = {}
        Object.keys(data).forEach((key) => {
            if (keys.indexOf(key) === -1) {
                result[key] = data[key]
            }
        })
        return result
    }
omit ( data , keys ) { let result = { } Object . keys ( data ) . forEach ( ( key ) => { if ( keys . indexOf ( key ) === - 1 ) { result [ key ] = data [ key ] } } ) return result }
Clone an object (data) omitting certain properties.
Clone an object ( data ) omitting certain properties .