JS-Test Frage 2
by shapeshifta
JavaScript
// wie kann man das kürzer schreiben?
if (foo) {
bar.doSomething(el);
} else {
bar.doSomethingElse(el);
}
by shapeshifta
// wie kann man das kürzer schreiben?
if (foo) {
bar.doSomething(el);
} else {
bar.doSomethingElse(el);
}