script Chrome, , "this" "". , window.x, , window.x == "!" .
I donโt understand what you expected from โthisโ or what you are actually trying to accomplish with this code, so I donโt know what alternative to offer. If you want the previous state in an anonymous function to be preserved for the internal function, you can simply rely on local variables (which will survive the closure) and not use the "this" link at all. The Squeegy example shows that.
source
share