Permalink
Browse files

doc: Minor edits.

  • Loading branch information...
tobie committed May 8, 2010
1 parent df67da1 commit feba59b1296cb9b22d0ff1439fc47a3d241b15d1
Showing with 5 additions and 3 deletions.
  1. +1 −1 src/lang/array.js
  2. +4 −2 src/lang/regexp.js
View
@@ -1,5 +1,5 @@
/** section: Language, related to: Array
* $A(iterable) -> actualArray
* $A(iterable) -> Array
*
* Accepts an array-like collection (anything with numeric indices) and returns
* its equivalent as an actual [[Array]] object. This method is a convenience
View
@@ -4,10 +4,12 @@
* Extensions to the built-in `RegExp` object.
**/
/** alias of: RegExp#test
/**
* RegExp#match(str) -> Boolean
* - str (String): a string against witch to match the regular expression.
*
* Return true if string matches the regular expression, false otherwise.
* Alias of the native `RegExp#test` method. Returns `true`
* if `str` matches the regular expression, `false` otherwise.
**/
RegExp.prototype.match = RegExp.prototype.test;

0 comments on commit feba59b

Please sign in to comment.