PageRenderTime 81ms CodeModel.GetById 40ms app.highlight 1ms RepoModel.GetById 39ms app.codeStats 0ms

/pyjs/tests/test041.js

http://pyjamas.googlecode.com/
JavaScript | 16 lines | 14 code | 2 blank | 0 comment | 6 complexity | bccf17fb3b4e26ead5e936af0c162e74 MD5 | raw file
 1function test() {
 2    if (bar.__contains__(foo)) {
 3    do_something();
 4    }
 5    if (!bar.__contains__(foo)) {
 6    do_something_else();
 7    }
 8    if (foo || bar) {
 9    good();
10    }
11    if (foo && bar) {
12    bad();
13    }
14}
15
16