From e20998d69b29dc3977100676ff23fc664290eb99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4?= Date: Thu, 14 Feb 2019 16:06:54 +0900 Subject: [PATCH] FIx #209 --- ecmascript/transforms/src/helpers/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecmascript/transforms/src/helpers/mod.rs b/ecmascript/transforms/src/helpers/mod.rs index 9d9725af284..4d8bd792bd4 100644 --- a/ecmascript/transforms/src/helpers/mod.rs +++ b/ecmascript/transforms/src/helpers/mod.rs @@ -187,7 +187,7 @@ define_helpers!(Helpers { // temporal_undefined: (), throw: (), to_array: (array_with_holes, iterable_to_array, non_iterable_rest), - to_consumable_array: (array_with_holes, iterable_to_array, non_iterable_spread), + to_consumable_array: (array_without_holes, iterable_to_array, non_iterable_spread), to_primitive: (type_of), to_property_key: (type_of, to_primitive), type_of: (),