luizlopes


Member since 2008

4 snippets

19349 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

luizlopes's Recent JavaScript Snippets



« Prev 1 Next »
When you use the `+` operator on an Array, it converts it to a string.` [].toString()` is the same as `[].join(',')`, which gives an empty string in case the array value is `undefined` or `null`. This also works in Javascript `([undefined] + "b" ===...
0 1478 posted 14 years ago by luizlopes
an operator that implements true prototypal Object inheritance in JavaScript
0 1946 posted 14 years ago by luizlopes
JSLint requires the body of every `for in` statement should be wrapped in an `if` statement
0 2198 posted 14 years ago by luizlopes
« Prev 1 Next »