]>
git.saurik.com Git - apple/javascriptcore.git/blob - tests/mozilla/ecma_2/LexicalConventions/regexp-literals-002.js
2 * File Name: LexicalConventions/regexp-literals-002.js
4 * Description: Based on ECMA 2 Draft 8 October 1999
6 * Author: christine@netscape.com
7 * Date: 19 February 1999
9 var SECTION
= "LexicalConventions/regexp-literals-002.js";
10 var VERSION
= "ECMA_2";
11 var TITLE
= "Regular Expression Literals";
15 // A regular expression literal represents an object of type RegExp.
18 "// A regular expression literal represents an object of type RegExp.",
20 (/x*/ instanceof RegExp
).toString() );