dimanche 12 février 2017

Turning off Node.js/JavaScript assertions in production

Vote count: 0

In Java, assertions are only executed if a java argument is executed at startup. Is there a similar option for assertions in Node.js? As I understand it, assertions should not be used in production code. Instead, the standard error handling mechanisms should be employed.

asked 11 secs ago

Let's block ads! (Why?)



Turning off Node.js/JavaScript assertions in production

Aucun commentaire:

Enregistrer un commentaire