PageRenderTime 26ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

/library/platform/pyjslibMozilla.py

http://pyjamas.googlecode.com/
Python | 6 lines | 6 code | 0 blank | 0 comment | 0 complexity | e2d03d4df9720c688b78048fa8d57a71 MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0
  1. class List:
  2. def index(self, value, start=0):
  3. JS("""
  4. return this.l.indexOf(value, start);
  5. """)