An Introduction to JS-Ctypes

Brendan Eich brendan at
Tue Sep 20 13:31:16 PDT 2011

On Sep 18, 2011, at 11:12 PM, Andrea Giammarchi wrote:

> right, that's nice, just wonder if at that time to pass an object will be slightly ambiguous
> function fn({a: a = {}, b: b = true}) { ... }
> fn(genericObject) will fail as first argument so that

No, that would not fail. There is no requirement that the caller pass an object expressed as a literal.


More information about the es-discuss mailing list