compat-table icon indicating copy to clipboard operation
compat-table copied to clipboard

Non-standard: add Microsoft ES3 extensions

Open webbedspace opened this issue 11 years ago • 3 comments

All the non-DOM-related extensions are here. Mostly I'm interested in:

  • CollectGarbage()
  • RuntimeObject() (searches the window object for properties created by var statements or implicit globals, whose names match the search string)
  • RegExpError
  • RegExp constructor static properties: RegExp.index, RegExp.input, RegExp.lastIndex, RegExp.lastMatch, RegExp.lastParen, RegExp.leftContext, RegExp.rightContext, RegExp.$_, RegExp["$&"], RegExp["$+"], RegExp["$"], RegExp["$'"]`
  • RegExp "options" property (equals the string "igm" for /./gim, etc.)

I'm leaving off everything that interacts with ActiveXObject, though, as well as the fairly useless ScriptEngine functions that just return version strings.

webbedspace avatar Aug 22 '14 13:08 webbedspace

Good stuff!

kangax avatar Aug 22 '14 23:08 kangax

Do we still want this?

chicoxyzzy avatar Sep 05 '18 23:09 chicoxyzzy

We want everything that’s in engines; especially the regexp globals.

ljharb avatar Sep 06 '18 01:09 ljharb