15 lines
324 B
Markdown
15 lines
324 B
Markdown
# poker.js — getTableData() (satır 21)
|
||
|
||
[← poker.js](index.md) · [← Master](../../wiki.md)
|
||
|
||
```javascript
|
||
function getTableData(lobby, tableId) {
|
||
for (var i = 0; i < lobby.tables.length; i++) {
|
||
if (lobby.tables[i].id === tableId) {
|
||
return lobby.tables[i];
|
||
}
|
||
}
|
||
return null;
|
||
}
|
||
```
|