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
Actual behavior:
Only q is a method on c; m is not recognised.
Note that if the declaration is var C = function(p) { this.p = p }, everything works. This only happens when C is a function declaration instead of a variable declaration with a function initialiser.
The text was updated successfully, but these errors were encountered:
Expected behavior:
Both
q
andm
are methods onc
.Actual behavior:
Only
q
is a method onc
;m
is not recognised.Note that if the declaration is
var C = function(p) { this.p = p }
, everything works. This only happens whenC
is a function declaration instead of a variable declaration with a function initialiser.The text was updated successfully, but these errors were encountered: