>> Or I guess, such cases will be replaced with function statements, right?
>> 
>> if (isDebug) {
>>    function debug() { ... }
>> } else {
>>    function debug() { ... }
>> }
> 
> Sure, that would be fine too.

Er, sorry, no -- block-local function declarations will be block-local in 
Harmony.

Dave

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

Reply via email to