Skip to content

Conversation

@KhafraDev
Copy link
Member

This relates to...

Rationale

Changes

Features

Bug Fixes

Breaking Changes and Deprecations

Status

@Uzlopak
Copy link
Contributor

Uzlopak commented Aug 28, 2024

can you explain a little?

also why is function an object?

@KhafraDev
Copy link
Member Author

  1. string comparisons are slow, in webidl we want to squeeze out any amount of performance we can get

  2. https://tc39.es/ecma262/#sec-object-type

In addition, some objects are callable; these are referred to as functions or function objects and are described further below. All functions in ECMAScript are members of the Object type.

@Uzlopak Uzlopak merged commit 7c1066c into nodejs:main Aug 28, 2024
@KhafraDev KhafraDev deleted the webidl-type-enum branch August 29, 2024 01:07
@github-actions github-actions bot mentioned this pull request Dec 3, 2024
This was referenced Dec 16, 2024
@github-actions github-actions bot mentioned this pull request Mar 12, 2025
@github-actions github-actions bot mentioned this pull request May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants