luizlopes


Member since 2008

6 snippets

18974 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

luizlopes's Recent SnippetsTagged javascript



« 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 1456 posted 14 years ago by luizlopes
an operator that implements true prototypal Object inheritance in JavaScript
0 1918 posted 14 years ago by luizlopes
JSLint requires the body of every `for in` statement should be wrapped in an `if` statement
0 2169 posted 14 years ago by luizlopes
I took this out of an example in tutsplus, and I added a fadeIn action for aesthetic reasons.
0 3164 posted 15 years ago by luizlopes
$('.fadein').slideShow(300);
1 1896 posted 16 years ago by luizlopes
« Prev 1 Next »