From 02fcfbf472ac9aa109ae6ff6153264bb0ab1fea6 Mon Sep 17 00:00:00 2001 From: Dmitry Volyntsev Date: Fri, 3 Sep 2021 14:57:50 +0000 Subject: [PATCH] Fixed AsyncFunction prototype property "name". According to the spec the AsyncFunction prototype does not have own property "name". --- src/njs_async.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/njs_async.c b/src/njs_async.c index f27c2eeb..b5f6c3a6 100644 --- a/src/njs_async.c +++ b/src/njs_async.c @@ -195,13 +195,6 @@ const njs_object_init_t njs_async_constructor_init = { static const njs_object_prop_t njs_async_prototype_properties[] = { - { - .type = NJS_PROPERTY, - .name = njs_string("name"), - .value = njs_string("AsyncFunction"), - .configurable = 1, - }, - { .type = NJS_PROPERTY, .name = njs_wellknown_symbol(NJS_SYMBOL_TO_STRING_TAG), -- 2.47.3