You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function A() {}
A.prototype.func = A_func;
function A_func() { return 5; }
confuses lebab and produces
1: warning Function A looks like class, but has no prototype (class)
3: warning Function A_func looks like class, but has no prototype (class)
function A() {}
A.prototype.func = A_func;
function A_func() { return 5; }
instead of the expected
class A {
func() { return 5; }
}
The text was updated successfully, but these errors were encountered:
confuses lebab and produces
instead of the expected
The text was updated successfully, but these errors were encountered: