This commit is contained in:
Михаил Капелько
2023-06-09 19:35:59 +03:00
parent a68765a0c2
commit 5fe1de859a
6 changed files with 27 additions and 7 deletions

View File

@@ -1,6 +1,19 @@
// Memory.
function memoryCreatePosition(x, y) {
return {
"x": x,
"y": y,
};
}
// UTS.
function utsFloor(value) {
return Math.floor(value);
}
// Создать массив индексов от 0 до указанного числа `count`.
function utsIndexArray(count) {
return Array.from(Array(count).keys());
}