File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ function error(type) {
4646 * A generic `Array#map` utility function.
4747 * @private
4848 * @param {Array } array The array to iterate over.
49- * @param {Function } callback The function that gets called for every array
49+ * @param {Function } fn The function that gets called for every array
5050 * item.
5151 * @returns {Array } A new array of values returned by the callback function.
5252 */
@@ -63,8 +63,8 @@ function map(array, fn) {
6363 * A simple `Array#map`-like wrapper to work with domain name strings or email
6464 * addresses.
6565 * @private
66- * @param {String } domain The domain name or email address.
67- * @param {Function } callback The function that gets called for every
66+ * @param {String } string The domain name or email address.
67+ * @param {Function } fn The function that gets called for every
6868 * character.
6969 * @returns {Array } A new string of characters returned by the callback
7070 * function.
@@ -127,7 +127,7 @@ function ucs2decode(string) {
127127 * @see `punycode.ucs2.decode`
128128 * @memberOf punycode.ucs2
129129 * @name encode
130- * @param {Array } codePoints The array of numeric code points.
130+ * @param {Array } array The array of numeric code points.
131131 * @returns {String } The new Unicode string (UCS-2).
132132 */
133133const ucs2encode = array => String . fromCodePoint ( ...array ) ;
You can’t perform that action at this time.
0 commit comments