Gabriel Reitz Giannattasio

Results 24 comments of Gabriel Reitz Giannattasio

Choose your destiny: ``` Javascript return Boolean({}); return {} == true; return !!{}; ```

In the example you are using your `_this` as a var in the closure scope for the methods created inside the object with methods that reference `_this`. You can use...

nice questionary, I missed one by attention lol. Well it depends on what you are doing, have a dynamic context can allow you to do such things as prototype methods...

@bcinarli you are welcome, just keep in mind that `bind` it's ECMAScript 5 specification, it won't work in IE before 9, well there is a simple shim at https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind and...