Loading js_classes/Array.js +8 −8 Original line number Diff line number Diff line Loading @@ -186,7 +186,7 @@ * var popped = myFish.pop(); * alert(popped); // Alerts 'surgeon' * * @return {Mixed} The last element in the array * @return {Object} The last element in the array */ /** Loading @@ -211,7 +211,7 @@ * var sports = ["soccer", "baseball"]; * sports.push("football", "swimming"); * * @param {Mixed} element1,...,elementN The elements to add to the end of the array. * @param {Object...} elements The elements to add to the end of the array. * @return {Number} The new length property of the object upon which the method was called. */ Loading Loading @@ -264,7 +264,7 @@ * myFish after: clown,mandarin,surgeon * Removed this element: angel * * @return {Mixed} The first element of the array prior to shifting. * @return {Object} The first element of the array prior to shifting. */ /** Loading Loading @@ -312,7 +312,7 @@ * }); * print(numbers); * * @param {Mixed} compareFunction Specifies a function that defines the sort order. If omitted, the * @param {Function} compareFunction Specifies a function that defines the sort order. If omitted, the * array is sorted lexicographically (in dictionary order) according to the string conversion of each * element. * @return {Array} A reference to the array Loading Loading @@ -362,7 +362,7 @@ * @param {Number} howMany An integer indicating the number of old array elements to remove. If * `howMany` is 0, no elements are removed. In this case, you should specify at least one new element. * If no `howMany` parameter is specified all elements after index are removed. * @param {Mixed} element1, ..., elementN The elements to add to the array. If you don't specify any * @param {Object...} elements The elements to add to the array. If you don't specify any * elements, `splice` simply removes elements from the array. * @return {Array} An array containing the removed elements. If only one element is removed, an array * of one element is returned.. Loading Loading @@ -393,7 +393,7 @@ * myFish after: ["drum", "lion", "angel", "clown"] * New length: 4 * * @param {Mixed} element1, ..., elementN The elements to add to the front of the array. * @param {Object...} elements The elements to add to the front of the array. * @return {Number} The array's new length. */ Loading Loading @@ -448,7 +448,7 @@ * // creates array ["a", "b", "c", 1, 2, 3], leaving alpha unchanged * var alphaNumeric = alpha.concat(1, [2, 3]); * * @param {Mixed} ValueN Arrays and/or values to concatenate to the resulting array. * @param {Object...} values Arrays and/or values to concatenate to the resulting array. * @return {Array} New array. */ Loading @@ -466,7 +466,7 @@ * var myVar2 = a.join(", "); // assigns "Wind, Rain, Fire" to myVar2 * var myVar3 = a.join(" + "); // assigns "Wind + Rain + Fire" to myVar3 * * @param {String} Separator Specifies a string to separate each element of the array. The separator * @param {String} separator Specifies a string to separate each element of the array. The separator * is converted to a string if necessary. If omitted, the array elements are separated with a comma. * @return {String} A string of the array elements. */ Loading js_classes/Function.js +5 −5 Original line number Diff line number Diff line Loading @@ -158,12 +158,12 @@ * * var min = minOfArray([5, 6, 2, 3, 7]); * * @param {Mixed} thisArg The value of this provided for the call to fun. Note that this may not be * @param {Object} thisArg The value of this provided for the call to fun. Note that this may not be * the actual value seen by the method: if the method is a function in non-strict mode code, null and * undefined will be replaced with the global object, and primitive values will be boxed. * @param {Array} argsArray An array like object, specifying the arguments with which fun should be * called, or null or undefined if no arguments should be provided to the function. * @return {Mixed} Returns what the function returns. * @return {Object} Returns what the function returns. */ /** Loading Loading @@ -224,11 +224,11 @@ * }).call(animals[i], i); * } * * @param {Mixed} thisArg The value of this provided for the call to `fun`.Note that this may not be * @param {Object} thisArg The value of this provided for the call to `fun`.Note that this may not be * the actual value seen by the method: if the method is a function in non-strict mode code, `null` * and `undefined` will be replaced with the global object, and primitive values will be boxed. * @param {Mixed} arg1, arg2, ... Arguments for the object. * @return {Mixed} Returns what the function returns. * @param {Object...} args Arguments for the object. * @return {Object} Returns what the function returns. */ /** Loading js_classes/Object.js +1 −1 Original line number Diff line number Diff line Loading @@ -332,7 +332,7 @@ * conversion, if only `"[object type]"`. But many objects do not convert to number, boolean, or * function. * * @return {Mixed} Returns value of the object or the object itself. * @return {Object} Returns value of the object or the object itself. */ //Properties Loading js_classes/RegExp.js +0 −2 Original line number Diff line number Diff line Loading @@ -290,7 +290,6 @@ * * This will display an alert containing 'hello world!'; * * @param {Mixed} regexp The name of the regular expression. It can be a variable name or a literal. * @param {String} str The string against which to match the regular expression. * @return {Array} Array of results or `NULL`. */ Loading @@ -314,7 +313,6 @@ * document.write (str + midstring + re.source); * } * * @param {Mixed} regexp The name of the regular expression. It can be a variable name or a literal. * @param {String} str The string against which to match the regular expression. * @return {Boolean} true if string contains any matches, otherwise returns false. */ Loading Loading
js_classes/Array.js +8 −8 Original line number Diff line number Diff line Loading @@ -186,7 +186,7 @@ * var popped = myFish.pop(); * alert(popped); // Alerts 'surgeon' * * @return {Mixed} The last element in the array * @return {Object} The last element in the array */ /** Loading @@ -211,7 +211,7 @@ * var sports = ["soccer", "baseball"]; * sports.push("football", "swimming"); * * @param {Mixed} element1,...,elementN The elements to add to the end of the array. * @param {Object...} elements The elements to add to the end of the array. * @return {Number} The new length property of the object upon which the method was called. */ Loading Loading @@ -264,7 +264,7 @@ * myFish after: clown,mandarin,surgeon * Removed this element: angel * * @return {Mixed} The first element of the array prior to shifting. * @return {Object} The first element of the array prior to shifting. */ /** Loading Loading @@ -312,7 +312,7 @@ * }); * print(numbers); * * @param {Mixed} compareFunction Specifies a function that defines the sort order. If omitted, the * @param {Function} compareFunction Specifies a function that defines the sort order. If omitted, the * array is sorted lexicographically (in dictionary order) according to the string conversion of each * element. * @return {Array} A reference to the array Loading Loading @@ -362,7 +362,7 @@ * @param {Number} howMany An integer indicating the number of old array elements to remove. If * `howMany` is 0, no elements are removed. In this case, you should specify at least one new element. * If no `howMany` parameter is specified all elements after index are removed. * @param {Mixed} element1, ..., elementN The elements to add to the array. If you don't specify any * @param {Object...} elements The elements to add to the array. If you don't specify any * elements, `splice` simply removes elements from the array. * @return {Array} An array containing the removed elements. If only one element is removed, an array * of one element is returned.. Loading Loading @@ -393,7 +393,7 @@ * myFish after: ["drum", "lion", "angel", "clown"] * New length: 4 * * @param {Mixed} element1, ..., elementN The elements to add to the front of the array. * @param {Object...} elements The elements to add to the front of the array. * @return {Number} The array's new length. */ Loading Loading @@ -448,7 +448,7 @@ * // creates array ["a", "b", "c", 1, 2, 3], leaving alpha unchanged * var alphaNumeric = alpha.concat(1, [2, 3]); * * @param {Mixed} ValueN Arrays and/or values to concatenate to the resulting array. * @param {Object...} values Arrays and/or values to concatenate to the resulting array. * @return {Array} New array. */ Loading @@ -466,7 +466,7 @@ * var myVar2 = a.join(", "); // assigns "Wind, Rain, Fire" to myVar2 * var myVar3 = a.join(" + "); // assigns "Wind + Rain + Fire" to myVar3 * * @param {String} Separator Specifies a string to separate each element of the array. The separator * @param {String} separator Specifies a string to separate each element of the array. The separator * is converted to a string if necessary. If omitted, the array elements are separated with a comma. * @return {String} A string of the array elements. */ Loading
js_classes/Function.js +5 −5 Original line number Diff line number Diff line Loading @@ -158,12 +158,12 @@ * * var min = minOfArray([5, 6, 2, 3, 7]); * * @param {Mixed} thisArg The value of this provided for the call to fun. Note that this may not be * @param {Object} thisArg The value of this provided for the call to fun. Note that this may not be * the actual value seen by the method: if the method is a function in non-strict mode code, null and * undefined will be replaced with the global object, and primitive values will be boxed. * @param {Array} argsArray An array like object, specifying the arguments with which fun should be * called, or null or undefined if no arguments should be provided to the function. * @return {Mixed} Returns what the function returns. * @return {Object} Returns what the function returns. */ /** Loading Loading @@ -224,11 +224,11 @@ * }).call(animals[i], i); * } * * @param {Mixed} thisArg The value of this provided for the call to `fun`.Note that this may not be * @param {Object} thisArg The value of this provided for the call to `fun`.Note that this may not be * the actual value seen by the method: if the method is a function in non-strict mode code, `null` * and `undefined` will be replaced with the global object, and primitive values will be boxed. * @param {Mixed} arg1, arg2, ... Arguments for the object. * @return {Mixed} Returns what the function returns. * @param {Object...} args Arguments for the object. * @return {Object} Returns what the function returns. */ /** Loading
js_classes/Object.js +1 −1 Original line number Diff line number Diff line Loading @@ -332,7 +332,7 @@ * conversion, if only `"[object type]"`. But many objects do not convert to number, boolean, or * function. * * @return {Mixed} Returns value of the object or the object itself. * @return {Object} Returns value of the object or the object itself. */ //Properties Loading
js_classes/RegExp.js +0 −2 Original line number Diff line number Diff line Loading @@ -290,7 +290,6 @@ * * This will display an alert containing 'hello world!'; * * @param {Mixed} regexp The name of the regular expression. It can be a variable name or a literal. * @param {String} str The string against which to match the regular expression. * @return {Array} Array of results or `NULL`. */ Loading @@ -314,7 +313,6 @@ * document.write (str + midstring + re.source); * } * * @param {Mixed} regexp The name of the regular expression. It can be a variable name or a literal. * @param {String} str The string against which to match the regular expression. * @return {Boolean} true if string contains any matches, otherwise returns false. */ Loading