refactor indexOf() into a shared helper; implement indexOf() and lastIndexOf() with the (clunky) helper
refactor indexOf() into a shared helper; implement indexOf() and lastIndexOf() with the (clunky) helper

chenyaqiuqiu/duktape,haosu1987/duktape,svaarala/duktape,kphillisjr/duktape,kphillisjr/duktape,reqshark/duktape,markand/duktape,haosu1987/duktape,zeropool/duktape,skomski/duktape,sloth4413/duktape,kphillisjr/duktape,zeropool/duktape,skomski/duktape,haosu1987/duktape,nivertech/duktape,nivertech/duktape,svaarala/duktape,tassmjau/duktape,pombredanne/duktape,daimajia/duktape,pombredanne/duktape,sloth4413/duktape,jmptrader/duktape,kphillisjr/duktape,skomski/duktape,svaarala/duktape,sloth4413/duktape,reqshark/duktape,svaarala/duktape,zeropool/duktape,nivertech/duktape,harold-b/duktape,kphillisjr/duktape,reqshark/duktape,daimajia/duktape,sloth4413/duktape,svaarala/duktape,haosu1987/duktape,skomski/duktape,zeropool/duktape,chenyaqiuqiu/duktape,nivertech/duktape,tassmjau/duktape,pombredanne/duktape,thurday/duktape,tassmjau/duktape,jmptrader/duktape,harold-b/duktape,thurday/duktape,pombredanne/duktape,tassmjau/duktape,markand/duktape,reqshark/duktape,jmptrader/duktape,harold-b/duktape,pombredanne/duktape,markand/duktape,sloth4413/duktape,jmptrader/duktape,skomski/duktape,tassmjau/duktape,thurday/duktape,tassmjau/duktape,eddieh/duktape,nivertech/duktape,markand/duktape,svaarala/duktape,eddieh/duktape,skomski/duktape,sloth4413/duktape,eddieh/duktape,rwaldron/duktape,skomski/duktape,reqshark/duktape,thurday/duktape,daimajia/duktape,zeropool/duktape,markand/duktape,markand/duktape,haosu1987/duktape,pombredanne/duktape,svaarala/duktape,reqshark/duktape,chenyaqiuqiu/duktape,haosu1987/duktape,zeropool/duktape,harold-b/duktape,rwaldron/duktape,thurday/duktape,thurday/duktape,jmptrader/duktape,haosu1987/duktape,sloth4413/duktape,harold-b/duktape,zeropool/duktape,chenyaqiuqiu/duktape,chenyaqiuqiu/duktape,skomski/duktape,reqshark/duktape,sloth4413/duktape,kphillisjr/duktape,rwaldron/duktape,thurday/duktape,pombredanne/duktape,chenyaqiuqiu/duktape,tassmjau/duktape,eddieh/duktape,daimajia/duktape,pombredanne/duktape,zeropool/duktape,pombredanne/duktape,skomski/duktape,chenyaqiuqiu/duktape,daimajia/duktape,reqshark/duktape,eddieh/duktape,tassmjau/duktape,harold-b/duktape,harold-b/duktape,eddieh/duktape,svaarala/duktape,kphillisjr/duktape,rwaldron/duktape,chenyaqiuqiu/duktape,eddieh/duktape,reqshark/duktape,jmptrader/duktape,svaarala/duktape,jmptrader/duktape,rwaldron/duktape,kphillisjr/duktape,chenyaqiuqiu/duktape,markand/duktape,thurday/duktape,nivertech/duktape,tassmjau/duktape,nivertech/duktape,sloth4413/duktape,eddieh/duktape,rwaldron/duktape,haosu1987/duktape,zeropool/duktape,haosu1987/duktape,harold-b/duktape,nivertech/duktape,tassmjau/duktape,harold-b/duktape,harold-b/duktape,markand/duktape,kphillisjr/duktape,markand/duktape,reqshark/duktape,nivertech/duktape,pombredanne/duktape,haosu1987/duktape,thurday/duktape,nivertech/duktape,skomski/duktape,zeropool/duktape,chenyaqiuqiu/duktape,sloth4413/duktape,eddieh/duktape,thurday/duktape,jmptrader/duktape,eddieh/duktape,daimajia/duktape,jmptrader/duktape,kphillisjr/duktape,markand/duktape,jmptrader/duktape