What if you're writing HFT software and an error causes you to spend millions of dollars on the wrong thing? If you had that assert in there then the program would have just crashed instead of bankrupting your company.
Similar problems could easily arise in JS with e-commerce type applications, failing is sometimes a good thing.
Similar problems could easily arise in JS with e-commerce type applications, failing is sometimes a good thing.