mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
13 lines
207 B
JavaScript
13 lines
207 B
JavaScript
function controller(msg) {
|
|
if (msg == 'start')
|
|
start();
|
|
else if (msg == 'start')
|
|
stop();
|
|
else
|
|
throw new Error("Message not understood.");
|
|
}
|
|
|
|
if (f({x: true}))
|
|
foo();
|
|
else if (f({y: false}))
|
|
bar(); |