Skip to content

Instantly share code, notes, and snippets.

View mrspeaker's full-sized avatar

Mr Speaker mrspeaker

View GitHub Profile
@rwaldron
rwaldron / ideas.js
Created May 8, 2011 16:51
Thinking outloud, exploring ideas that might compete with # or -> as function shorthands. Recreating examples form http://wiki.ecmascript.org/doku.php?id=strawman:arrow_function_syntax
( ( <argument-list> ) <expression> | <block> )
var identity = (( x ) {
x; // with tail calls
});
var f = (( a, b, c ) {
// a, b, c
});