/pyjs/tests/test041.js
http://pyjamas.googlecode.com/ · JavaScript · 16 lines · 14 code · 2 blank · 0 comment · 6 complexity · bccf17fb3b4e26ead5e936af0c162e74 MD5 · raw file
- function test() {
- if (bar.__contains__(foo)) {
- do_something();
- }
- if (!bar.__contains__(foo)) {
- do_something_else();
- }
- if (foo || bar) {
- good();
- }
- if (foo && bar) {
- bad();
- }
- }