Implement Symbol.matchAll (#4082)

The following methods were implemented:
- String.prototype.matchAll based on ECMA-262 v11, 21.1.3.12
- RegExp.prototype[@@matchAll] based on ECMA-262 v11, 21.2.5.8
- RegExp String Iterator Object based on 21.2.7

JerryScript-DCO-1.0-Signed-off-by: Adam Szilagyi [email protected]
This commit is contained in:
Szilagyi Adam authored and GitHub committed 2021-01-18 18:08:35 +01:00
1 parent 1d42d17ab6
commit 6ec4455111
24 files changed
+965 -83

No files matched your search

+1
View File
@@ -181,6 +181,7 @@ Well-known symbols:
- JERRY_SYMBOL_TO_PRIMITIVE - @@toPrimitive well-known symbol
- JERRY_SYMBOL_TO_STRING_TAG - @@toStringTag well-known symbol
- JERRY_SYMBOL_UNSCOPABLES - @@unscopables well-known symbol
- JERRY_SYMBOL_MATCH_ALL - @@matchAll well-known symbol
*New in version 2.4*.