From c518e486b21d1290b72b6a97fc8d048fedd5b81c Mon Sep 17 00:00:00 2001 From: zongor Date: Mon, 27 May 2024 12:07:04 -0400 Subject: [PATCH] naming --- test-js-c-interop/test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test-js-c-interop/test.js b/test-js-c-interop/test.js index 8da3e61..e42cc70 100644 --- a/test-js-c-interop/test.js +++ b/test-js-c-interop/test.js @@ -3,8 +3,8 @@ class Vector3 { this._size = 12; this._ptr = ptr.buffer || new ArrayBuffer(this._size); this._data = new DataView(this._ptr); - for (const i of Object.keys(init)) { - this[i] = init[i]; + for (const key of Object.keys(init)) { + this[key] = init[key]; } } get x() { @@ -35,8 +35,8 @@ class Camera3D { this._size = 44; this._ptr = ptr.buffer || new ArrayBuffer(this._size); this._data = new DataView(this._ptr); - for (const i of Object.keys(init)) { - this[i] = init[i]; + for (const key of Object.keys(init)) { + this[key] = init[key]; } } get position() {