
Co-authored-by: Amélie Renard <44666826+amelie-renard-sonarsource@users.noreply.github.com> Co-authored-by: Dorian Burihabwa <75226315+dorian-burihabwa-sonarsource@users.noreply.github.com>
17 lines
151 B
Plaintext
17 lines
151 B
Plaintext
[source,javascript]
|
|
----
|
|
doSomething();
|
|
----
|
|
|
|
or
|
|
|
|
[source,javascript]
|
|
----
|
|
try {
|
|
doSomething();
|
|
} catch (ex) {
|
|
console.err(ex);
|
|
throw ex;
|
|
}
|
|
----
|