function get ( target , property ) { return target ( ) [ property ] ; } export default function proxyCurry ( fn , property ) { const curry = function ( ... args ) { return fn ( function ( item ) { return item [ property ] ( ... args ) ; } ) ; } ; return new Proxy ( curry , { get } ) ; }