BelleveInvis wrote:
> I think that we can provide a "more strict" mode to deal with some
> long-lasting defects. In "more strict" mode,
>
>   * Implicit type conversion is disabled.
>   * Functions declarations are disabled. All `function(){}` are
>     considered function literal expression.
>

This in particular is a private fetish -- whatever floats your boat, but
nothing to put in the standard.

Function hoisting as a simplified letrec and to enable top-down program
source decomposition is a feature.

/be

>   * Statement labels are disabled or strictly restricted.
>   * A `break` statement or a "fallthrough" declaration is required to
>     be added into the branches inside a switch statement.
>   * `eval` is disabled.
>
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to