Previous Contents Index Next |
Core JavaScript Reference 1.5 |
Appendix B Appendix B Deprecated Features
This appendix lists the features that are deprecated as of JavaScript 15.
- RegExp Properties
The following properties are deprecated.
Property
Description
$1, ..., $9
$_
$*
$&
$+
$`
$'
input
lastMatch
lastParen
leftContext
rightContext
The following are now properties of RegExp instances, no longer of the RegExp object.
- RegExp Methods
- The compile method is deprecated.
- The valueOf method is no longer specialized for RegExp. Use Object.valueOf.
- Escape sequences
- Octal escape sequences (\ followed by one, two, or three octal digits) are deprecated in string and regular expression literals.
- The escape and unescape functions are deprecated. Use encodeURI, encodeURIComponent, decodeURI or decodeURIComponent to encode and decode escape sequences for special characters.
Previous Contents Index Next
Copyright © 2000 Netscape Communications Corp. All rights reserved.
Last Updated September 28, 2000