Strawman: partial application operator

Ben Aston ben at
Wed Mar 22 08:15:53 UTC 2017

I am looking for a champion for a partial application operator strawman.

A terse, native syntax for partial application that does not affect the target of a function will improve code consistency, clarity of intent and legibility.

Assuming `arg1` is defined:


import _ from 'lodash'; 
const o = { 
 foo: _.partial(foo, arg1),
 bar: bar.bind(null, arg1)


const o = { 

I am aware of another idea entitled "this binding syntax" (, that uses similar operator syntax to this strawman. I have no doubt there is a better syntax for my strawman!

Ben Aston
ben at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list