PageRenderTime 132ms CodeModel.GetById 0ms RepoModel.GetById 0ms 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
Possible License(s): LGPL-2.1, Apache-2.0
  1. function 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. }