3 ms·
yeah, it cannot be emphasized enough the hazards of with() like constructs in languages with dynamic types and dynamic variable lookup are drastically different
by olliej 3y ago
yeah, it cannot be emphasized enough the hazards of with() like constructs in languages with dynamic types and dynamic variable lookup are drastically different. That's why it was a mistake for it to be in JS, and why it was deprecated and blocked in strict mode.
- deleted 3y ago[deleted]