updeep-remeda/lib/constant.js
2015-08-12 22:19:32 -07:00

7 lines
133 B
JavaScript

import freeze from './freeze';
export default function constant(object) {
const frozen = freeze(object);
return () => frozen;
}