Similar to the minimal classes idea: Is there a sweet spot between nothing at 
all and full-blown type guards that would have a chance to make it into ES.next?

The minimal useful feature set that I can think of:
1. instanceof checks: is an argument an instance of a given type?
2. property name checks: enforce property names and property values. Use case: 
options in a function/method invocation.

Axel

-- 
Dr. Axel Rauschmayer

[email protected]
twitter.com/rauschma

home: rauschma.de
blog: 2ality.com



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

Reply via email to