Lines Matching refs:prototype
9 if (isUndefined(Array.prototype.concat)) {
10 Array.prototype.concat = function (secondArray) {
20 if (isUndefined(Array.prototype.copy)) {
21 Array.prototype.copy = function() {
31 if (isUndefined(Array.prototype.pop)) {
32 Array.prototype.pop = function() {
43 if (isUndefined(Array.prototype.push)) {
44 Array.prototype.push = function() {
54 if (isUndefined(Array.prototype.shift)) {
55 Array.prototype.shift = function() {
66 if (isUndefined(Array.prototype.slice)) {
67 Array.prototype.slice = function(start, end) {
93 if (isUndefined(Array.prototype.splice)) {
94 Array.prototype.splice = function(start, deleteCount) {
116 if (isUndefined(Array.prototype.unshift)) {
117 Array.prototype.unshift = function(the_item) {
128 Array.prototype.indexOf = function(needle,begin) {
136 Array.prototype.lastIndexOf = function(needle,end) {
143 if (isUndefined(Array.prototype.map)) {
144 Array.prototype.map = function(func) {
154 if (isUndefined(Array.prototype.unique)) {
161 Array.prototype.unique = function() /* :Array */{
170 if (isUndefined(Array.prototype.flatten)) {
178 Array.prototype.flatten = function(cols /* :Array */, cd) /* :Array */{