hax / hax/proposal-this-parameter

this parameter in static methods

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Hi,

While looking at the [associated slide](https://johnhax.net/2022/this-param/slide), the [slide 29](https://johnhax.net/2022/this-param/slide#29) must not be implemented.
Because, if implemented:
- `static foo(this)` became simply an instance method
- the `static` keyword is losing its meaning

So the `this` parameter must not be allowed in a static method.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.