mirror of
https://github.com/getify/You-Dont-Know-JS.git
synced 2025-04-07 06:31:16 +08:00
get started, apB: fixing mistake in solution code, closes #1678
This commit is contained in:
parent
b9563516eb
commit
3fad40656b
@ -310,7 +310,7 @@ var slotMachine = {
|
||||
reel.position +
|
||||
linePos
|
||||
) % reel.symbols.length;
|
||||
return reel.display.call(slot);
|
||||
return slot.display();
|
||||
}
|
||||
);
|
||||
lines.push(line.join(" | "));
|
||||
|
Loading…
x
Reference in New Issue
Block a user