Skip to content

Commit

Permalink
Merge pull request rwaldron#40 from sindresorhus/whitespace-consistency
Browse files Browse the repository at this point in the history
Whitespace consistency on single arg string literal
  • Loading branch information
rwaldron committed Apr 17, 2012
2 parents 2c8d549 + dce2299 commit ac4e935
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -560,16 +560,16 @@ The following sections outline a _reasonable_ style guide for modern JavaScript
var array = [ "a", "b", "c" ];
!!~array.indexOf( "a" );
!!~array.indexOf("a");
// true
!!~array.indexOf( "b" );
!!~array.indexOf("b");
// true
!!~array.indexOf( "c" );
!!~array.indexOf("c");
// true
!!~array.indexOf( "d" );
!!~array.indexOf("d");
// false
// Note that the above should be considered "unnecessarily clever"
Expand Down

0 comments on commit ac4e935

Please sign in to comment.