4 ms·
You're obviously right but could this sort of case not be handled by future versions of JS allow clients to opt in to the prototype being modified, something eq
by colin_jack 11y ago
You're obviously right but could this sort of case not be handled by future versions of JS allow clients to opt in to the prototype being modified, something equivalent to extension methods in .NET where if a client wants to use them they import the associated namespace?