This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
237.times("All work and no play makes Jack a dull boy.") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://thesaurus.reference.com/browse/thesaurus |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aif = function(_) { | |
_ = Array.slice(arguments) | |
return(each(_, function(i) { | |
if(i % 2 == 0 && !!this) { | |
return(fn.apply(this)) | |
} | |
})) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ss |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
self.pr = function() { | |
var literal = "[" | |
for (var i=0; i<self.length; i++) | |
literal += (i != self.length-1) ? self[i]+", " : self[i]+"]" | |
return literal | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
self.eq = function(other) { | |
// Is self equal to other? | |
if (self.length !== other.length) return 0 | |
var equal = 1 | |
for (var i=0; i<self.length; i++) { | |
if (self[i] !== other[i]) equal = 0 | |
} | |
return equal | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// do as self.isany() | |
self.isa = function(/* args */) { | |
if (arguments.length > 0) { | |
// Prepare arguments and constructors | |
var args = Array.prototype.slice.call(arguments), // args provide an .isany() feature; could do in sep method | |
makers = [] //: list | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
self.eq = function(other) { | |
// Is self equal to other? | |
if (self.length !== other.length) return 0 | |
var equal = 1 | |
for (var i=0; i<self.length; i++) { | |
if (self[i] !== other[i]) | |
equal = 0 | |
} | |
return equal | |
} |
OlderNewer