283 shaares
2 liens privés
2 liens privés
3 résultats
taggé
js
Anti-frameworkism: Choosing native web APIs over frameworks
Utilisé par Bruno (https://docs.usebruno.com/get-started/bruno-basics/create-a-test)
Chai is a BDD / TDD assertion library for node and the browser that can be delightfully paired with any javascript testing framework.
Group together console logs
In Javascript you can group together console logs by using console.group()
This will output all of the following console logs in a nicer indented form.
console.group("Food");
console.log("Apple");
console.log("Banana");
console.log("Cookie");
JavaScript
image
You can nest groups inside of one another. To end a group just call console.groupEnd()