Open j4k0xb opened 1 year ago
const obj = { a: function () { }, b() { }, }; new obj.a(); // Works new obj.b(); // TypeError: obj.b is not a constructor
Would be more appropriate if the refactoring showed a warning instead of 🟢 safe
🟢 safe
Would be more appropriate if the refactoring showed a warning instead of
🟢 safe