1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
3 * File Name: LexicalConventions/regexp-literals-002.js
5 * Description: Based on ECMA 2 Draft 8 October 1999
7 * Author: christine@netscape.com
8 * Date: 19 February 1999
10 var SECTION = "LexicalConventions/regexp-literals-002.js";
11 var VERSION = "ECMA_2";
12 var TITLE = "Regular Expression Literals";
16 // A regular expression literal represents an object of type RegExp.
19 "// A regular expression literal represents an object of type RegExp.",
21 (/x*/ instanceof RegExp).toString() );