/pyjs/tests/test041.js
JavaScript | 16 lines | 14 code | 2 blank | 0 comment | 6 complexity | bccf17fb3b4e26ead5e936af0c162e74 MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0
- function test() {
- if (bar.__contains__(foo)) {
- do_something();
- }
- if (!bar.__contains__(foo)) {
- do_something_else();
- }
- if (foo || bar) {
- good();
- }
- if (foo && bar) {
- bad();
- }
- }