Skip to content

lib: simplify own keys retrieval - #24582

Closed
vsemozhetbyt wants to merge 1 commit into
nodejs:masterfrom
vsemozhetbyt:lib-internal-safe_globals.js
Closed

lib: simplify own keys retrieval#24582
vsemozhetbyt wants to merge 1 commit into
nodejs:masterfrom
vsemozhetbyt:lib-internal-safe_globals.js

Conversation

@vsemozhetbyt

Copy link
Copy Markdown
Contributor
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

This replacement can save us a function call, two array spreadings, and an array concatenation.

Refs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/ownKeys#Description

This replacement can save us a function call, two array spreadings,
and an array concatenation.
Refs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/ownKeys#Description
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@vsemozhetbytvsemozhetbyt added the lib / src Issues and PRs related to general changes in the lib or src directory. label Nov 23, 2018
@vsemozhetbyt

Copy link
Copy Markdown
ContributorAuthor

@vsemozhetbytvsemozhetbyt added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Nov 23, 2018
@vsemozhetbyt

Copy link
Copy Markdown
ContributorAuthor

@vsemozhetbyt

Copy link
Copy Markdown
ContributorAuthor

Landed in f2432a4
Thank you for the reviews.

@vsemozhetbyt
vsemozhetbyt deleted the lib-internal-safe_globals.js branch November 25, 2018 23:33
vsemozhetbyt added a commit that referenced this pull request Nov 25, 2018
This replacement can save us a function call, two array spreadings,
and an array concatenation.
PR-URL: #24582
Refs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/ownKeys#Description
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
targos pushed a commit that referenced this pull request Nov 27, 2018
This replacement can save us a function call, two array spreadings,
and an array concatenation.
PR-URL: #24582
Refs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/ownKeys#Description
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
rvagg pushed a commit that referenced this pull request Nov 28, 2018
This replacement can save us a function call, two array spreadings,
and an array concatenation.
PR-URL: #24582
Refs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/ownKeys#Description
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@BridgeARBridgeAR mentioned this pull request Dec 5, 2018
4 tasks
refack pushed a commit to refack/node that referenced this pull request Jan 14, 2019
This replacement can save us a function call, two array spreadings,
and an array concatenation.
PR-URL: nodejs#24582
Refs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/ownKeys#Description
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
BethGriggs pushed a commit that referenced this pull request Feb 11, 2019
This replacement can save us a function call, two array spreadings,
and an array concatenation.
PR-URL: #24582
Refs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/ownKeys#Description
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@BethGriggsBethGriggs mentioned this pull request Feb 12, 2019
rvagg pushed a commit that referenced this pull request Feb 28, 2019
This replacement can save us a function call, two array spreadings,
and an array concatenation.
PR-URL: #24582
Refs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/ownKeys#Description
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.lib / srcIssues and PRs related to general changes in the lib or src directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@vsemozhetbyt@nodejs-github-bot@addaleax@cjihrig@devsnek@BethGriggs