UNPKG

@mightyplow/jslib

Version:

js helpers library

13 lines (12 loc) 268 B
/** * @memberOf object * * @param object */ var removeProp = function removeProp() { var object = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; return function (key) { return delete object[key]; }; }; export default removeProp;