Skip to content Skip to sidebar Skip to footer
Showing posts with the label Strict

Inconsistent Behaviour Of "this" In Javascript Strict Mode

Update For clarity: @FelixKing: Yes, I expected this to still be undefined when calling window.foo(… Read more Inconsistent Behaviour Of "this" In Javascript Strict Mode

Get Current Function Name In Strict Mode

I need the current function name as a string to log to our log facility. But arguments.callee.name … Read more Get Current Function Name In Strict Mode