Message from JavaScript discussions

May 2017

— I don't think that's neccesarily the case

— 

The quality of information is questionable but it appears the error has to do with the position of the strict mode declaration, not the function itself

— This statement makes me think that: "If the function should be in strict mode, and the entire script or enclosing function is also okay to be in strict mode, you can move the "use strict" directive outside of the function"

Message permanent page

— Which amounts to forcing you to use strict mode outside the function in order to use it inside the function

Message permanent page

— It's provable

— TCO only works for strict mode functions

— I'm just trying to find that on google

— Try putting use strict outside two recursive functions, one with complex arguments, one without

— The one with won't utilize TCO

— I think this is false as you may not declare strict mode inside those, however declaring it just outside them, as far as I can tell, does make them run in strict mode

Message permanent page

— It does, EXCEPT for the ones with complex arguments

— I did a quick check and I think you are right