#NEWLINE# @ webworker ( 'xxx.js' ) #NEWLINE# def mythread( a , b ) : #NEWLINE# #INDENT# a . append ( 'hello' ) #NEWLINE# b . append ( 'world' ) #NEWLINE# b . append ( 'XXX' ) #NEWLINE# b [ 1 ] = 'YYY' #NEWLINE# ticks = 0 #NEWLINE# while True : #NEWLINE# #INDENT# ticks += 1 #NEWLINE# if ( a > 100000 ) : #NEWLINE# #INDENT# break #NEWLINE# #UNINDENT# if ( 'ZZZ' in a ) : #NEWLINE# #INDENT# break