Welcome! Log In Create A New Profile

Advanced

[njs] Fixed AsyncFunction prototype property "name".

Dmitry Volyntsev
September 03, 2021 11:00AM
details: https://hg.nginx.org/njs/rev/91d9301684db
branches:
changeset: 1705:91d9301684db
user: Dmitry Volyntsev <xeioex@nginx.com>
date: Fri Sep 03 14:57:50 2021 +0000
description:
Fixed AsyncFunction prototype property "name".

According to the spec the AsyncFunction prototype does not
have own property "name".

diffstat:

src/njs_async.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)

diffs (17 lines):

diff -r 68f8f7ead0fc -r 91d9301684db src/njs_async.c
--- a/src/njs_async.c Thu Sep 02 19:33:32 2021 +0300
+++ b/src/njs_async.c Fri Sep 03 14:57:50 2021 +0000
@@ -197,13 +197,6 @@ static const njs_object_prop_t njs_asyn
{
{
.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),
.value = njs_string("AsyncFunction"),
.configurable = 1,
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Fixed AsyncFunction prototype property "name".

Dmitry Volyntsev 222 September 03, 2021 11:00AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 49
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready