Index: src/macros.py |
diff --git a/src/macros.py b/src/macros.py |
index 92ed437b0f6cbb44748e3649ce2dc41ac7b9c026..0c52f3822e32bba2757d32b37827ba0394834402 100644 |
--- a/src/macros.py |
+++ b/src/macros.py |
@@ -117,6 +117,7 @@ macro IS_SCRIPT(arg) = (%_ClassOf(arg) === 'Script'); |
macro IS_ARGUMENTS(arg) = (%_ClassOf(arg) === 'Arguments'); |
macro IS_GLOBAL(arg) = (%_ClassOf(arg) === 'global'); |
macro IS_ARRAYBUFFER(arg) = (%_ClassOf(arg) === '__ArrayBuffer'); |
+macro IS_GENERATOR(arg) = (%_ClassOf(arg) === 'Generator'); |
macro IS_UNDETECTABLE(arg) = (%_IsUndetectableObject(arg)); |
macro FLOOR(arg) = $floor(arg); |