mirror of
https://github.com/scratchfoundation/scratch-flash.git
synced 2024-12-04 21:21:06 -05:00
Update ListPrims.as
Nothing major, just fixed a typo.
This commit is contained in:
parent
0d7417b5bd
commit
74697446c2
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ public class ListPrims {
|
|||
var item:* = interp.arg(b, 1);
|
||||
if (list.contents.indexOf(item) >= 0) return true;
|
||||
for each (var el:* in list.contents) {
|
||||
// use Scratch comparision operator (Scratch considers the string '123' equal to the number 123)
|
||||
// use Scratch comparison operator (Scratch considers the string '123' equal to the number 123)
|
||||
if (Primitives.compare(el, item) == 0) return true;
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue