mlaci
Member since Nov 13, 2018
- Profile: /members/13831-mlaci.htm
- Comments: 2
Recent Blog Comments By mlaci
-
Building A Mental Model For Precedence And The "new" Operator In JavaScript
Posted on Nov 26, 2018 at 3:01 PM
@Ben, Sorry, my answer misleading, it's nothing to do with types, it just how to parse the javascript syntax to syntax tree. I wrote incorrectly that <sub-expression-1> could contain function calls, I messed up something in a console when i tested. Instead, try some example from y... read more »
-
Building A Mental Model For Precedence And The "new" Operator In JavaScript
Posted on Nov 13, 2018 at 6:20 PM
It's not magic. Level 19 new operator syntax: new <sub-expression-1> ( <sub-expression-2> ) The sub-expression-2 can be anything. The sub-expression-1 can be level 19-20 operators (chain), because the precedence, and a result must be an object with a constructor. But the ... read more »