Ed Saleh

Results 19 comments of Ed Saleh

Of course this proposal is open for any modifications and subjective discussion in regard to consensus. Thank you

Yes, I like the ideas of the current proposal, except for the implicit return and that could be improved with creating a new keyword to break or exit or retrieve...

https://github.com/EdSaleh/proposal-immediately-executed-arrow-function-expression

Each preceding item statement in chain acts as the parameter value for the next item statement in chain. So first item in the chain gets value parameter, then the next...

this ```ts const c = value -> value+1 -> value+1 -> value+2 console.log(c) //5 ``` equals: ```ts const value1 = value; const value2 = value1 -> value1+1 const value3 =...

No it's not allowed since you need an object to be mapped to the immediately executable arrows function. `{value: obj.value}->value+1` Or `({value: obj.value})->value+1` Or `{obj}->obj.value+1` Or `obj->obj.value+1` Or `{obj}=>obj.value+1`

We can rename the proposal to *Immediately Executable Arrow Function(s)* or *Immediately Invoked Arrow Function(s)* or *Immediately Invokable Arrow Function(s)* since you can have multiple chain of functions in the...