Изменения от Главреда ГитЖС | Changes of GitJS Glavred

This commit is contained in:
Главред | Glavred
2020-09-14 15:09:53 +03:00
parent dfb00e8cce
commit b5c095ca9e
4 changed files with 107 additions and 4 deletions

View File

@@ -0,0 +1,14 @@
номерФишки = (фишки, id) =>
{
for (var номер in фишки)
{
var фишка = фишки[номер];
if (фишка.id == id)
{
return номер;
}
}
return null;
};