Brendan Eich wrote:
function pair(x, y) { return [x, h]; }

s/h/y/ there of course!

let [x, y] = pair(3,4);

And Nathan beat me to it -- sorry for not updating mail before replying...

/be
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to