This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Revert bdfc9c02 (restore [] as falsy) #10253
Closed
Description
This was an awesome feature, and the problem is with Javascript: Empty anything should be falsy. Anyone who was surprised by []
being considered falsy is at fault for not reading the documentation, which clearly stated this behaviour.
Updating existing projects to compensate for the breaking change introduced by bdfc9c0 is no simple task, even just finding where it will break will be very labour-intensive, just for the dev to restore this functionality anyway.