diff --git a/lab-solution.html b/lab-solution.html new file mode 100644 index 0000000..4256c7b --- /dev/null +++ b/lab-solution.html @@ -0,0 +1,525 @@ +
Error: expect(received).toBe(expected) // Object.is equality + +Expected: 4 +Received: "equal" + at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\tests\functions-and-arrays.spec.js:45:35) + at Object.asyncJestTest (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\jasmineAsyncInstall.js:106:37) + at C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\queueRunner.js:45:12 + at new Promise (<anonymous>) + at mapper (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\queueRunner.js:28:19) + at C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\queueRunner.js:75:41 + at runNextTicks (node:internal/process/task_queues:60:5) + at processTimers (node:internal/timers:516:9)
Error: expect(received).toThrow(expected) + +Expected message: "Unsupported data type sir or ma'am" + +Received function did not throw + at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\tests\functions-and-arrays.spec.js:133:81) + at Object.asyncJestTest (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\jasmineAsyncInstall.js:106:37) + at C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\queueRunner.js:45:12 + at new Promise (<anonymous>) + at mapper (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\queueRunner.js:28:19) + at C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\queueRunner.js:75:41 + at runNextTicks (node:internal/process/task_queues:60:5) + at processTimers (node:internal/timers:516:9)
Error: expect(received).toBe(expected) // Object.is equality + +Expected: null +Received: NaN + at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\tests\functions-and-arrays.spec.js:145:32) + at Object.asyncJestTest (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\jasmineAsyncInstall.js:106:37) + at C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\queueRunner.js:45:12 + at new Promise (<anonymous>) + at mapper (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\queueRunner.js:28:19) + at C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\queueRunner.js:75:41 + at runNextTicks (node:internal/process/task_queues:60:5) + at processTimers (node:internal/timers:516:9)
Error: expect(received).toBe(expected) // Object.is equality + +Expected: "function" +Received: "number" + at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\tests\functions-and-arrays.spec.js:183:24) + at Object.asyncJestTest (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\jasmineAsyncInstall.js:106:37) + at C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\queueRunner.js:45:12 + at new Promise (<anonymous>) + at mapper (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\queueRunner.js:28:19) + at C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\queueRunner.js:75:41 + at runNextTicks (node:internal/process/task_queues:60:5) + at processTimers (node:internal/timers:516:9)
TypeError: avg is not a function + at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\tests\functions-and-arrays.spec.js:187:12) + at Object.asyncJestTest (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\jasmineAsyncInstall.js:106:37) + at C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\queueRunner.js:45:12 + at new Promise (<anonymous>) + at mapper (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\queueRunner.js:28:19) + at C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\queueRunner.js:75:41 + at runNextTicks (node:internal/process/task_queues:60:5) + at processTimers (node:internal/timers:516:9)
TypeError: avg is not a function + at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\tests\functions-and-arrays.spec.js:192:12) + at Object.asyncJestTest (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\jasmineAsyncInstall.js:106:37) + at C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\queueRunner.js:45:12 + at new Promise (<anonymous>) + at mapper (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\queueRunner.js:28:19) + at C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\queueRunner.js:75:41 + at runNextTicks (node:internal/process/task_queues:60:5) + at processTimers (node:internal/timers:516:9)
at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\src\functions-and-arrays.js:12:9) + at Runtime._execModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:1299:24) + at Runtime._loadModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:898:12) + at Runtime.requireModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:746:10) + at Runtime.require [as requireModuleOrMock] (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:919:21) + at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\tests\functions-and-arrays.spec.js:13:5) + at Runtime._execModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:1299:24) + at Runtime._loadModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:898:12) + at Runtime.requireModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:746:10) + at jasmine2 (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\index.js:230:13) + at runTestInternal (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runner\build\runTest.js:380:22) + at runNextTicks (node:internal/process/task_queues:60:5) + at processTimers (node:internal/timers:516:9) + at runTest (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runner\build\runTest.js:472:34)
at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\src\functions-and-arrays.js:33:9) + at Runtime._execModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:1299:24) + at Runtime._loadModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:898:12) + at Runtime.requireModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:746:10) + at Runtime.require [as requireModuleOrMock] (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:919:21) + at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\tests\functions-and-arrays.spec.js:13:5) + at Runtime._execModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:1299:24) + at Runtime._loadModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:898:12) + at Runtime.requireModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:746:10) + at jasmine2 (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\index.js:230:13) + at runTestInternal (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runner\build\runTest.js:380:22) + at runNextTicks (node:internal/process/task_queues:60:5) + at processTimers (node:internal/timers:516:9) + at runTest (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runner\build\runTest.js:472:34)
at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\src\functions-and-arrays.js:48:9) + at Runtime._execModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:1299:24) + at Runtime._loadModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:898:12) + at Runtime.requireModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:746:10) + at Runtime.require [as requireModuleOrMock] (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:919:21) + at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\tests\functions-and-arrays.spec.js:13:5) + at Runtime._execModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:1299:24) + at Runtime._loadModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:898:12) + at Runtime.requireModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:746:10) + at jasmine2 (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\index.js:230:13) + at runTestInternal (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runner\build\runTest.js:380:22) + at runNextTicks (node:internal/process/task_queues:60:5) + at processTimers (node:internal/timers:516:9) + at runTest (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runner\build\runTest.js:472:34)
at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\src\functions-and-arrays.js:72:9) + at Runtime._execModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:1299:24) + at Runtime._loadModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:898:12) + at Runtime.requireModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:746:10) + at Runtime.require [as requireModuleOrMock] (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:919:21) + at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\tests\functions-and-arrays.spec.js:13:5) + at Runtime._execModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:1299:24) + at Runtime._loadModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:898:12) + at Runtime.requireModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:746:10) + at jasmine2 (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\index.js:230:13) + at runTestInternal (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runner\build\runTest.js:380:22) + at runNextTicks (node:internal/process/task_queues:60:5) + at processTimers (node:internal/timers:516:9) + at runTest (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runner\build\runTest.js:472:34)
at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\src\functions-and-arrays.js:83:9) + at Runtime._execModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:1299:24) + at Runtime._loadModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:898:12) + at Runtime.requireModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:746:10) + at Runtime.require [as requireModuleOrMock] (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:919:21) + at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\tests\functions-and-arrays.spec.js:13:5) + at Runtime._execModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:1299:24) + at Runtime._loadModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:898:12) + at Runtime.requireModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:746:10) + at jasmine2 (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\index.js:230:13) + at runTestInternal (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runner\build\runTest.js:380:22) + at runNextTicks (node:internal/process/task_queues:60:5) + at processTimers (node:internal/timers:516:9) + at runTest (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runner\build\runTest.js:472:34)
at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\src\functions-and-arrays.js:103:9) + at Runtime._execModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:1299:24) + at Runtime._loadModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:898:12) + at Runtime.requireModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:746:10) + at Runtime.require [as requireModuleOrMock] (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:919:21) + at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\tests\functions-and-arrays.spec.js:13:5) + at Runtime._execModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:1299:24) + at Runtime._loadModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:898:12) + at Runtime.requireModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:746:10) + at jasmine2 (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\index.js:230:13) + at runTestInternal (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runner\build\runTest.js:380:22) + at runNextTicks (node:internal/process/task_queues:60:5) + at processTimers (node:internal/timers:516:9) + at runTest (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runner\build\runTest.js:472:34)
at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\src\functions-and-arrays.js:129:9) + at Runtime._execModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:1299:24) + at Runtime._loadModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:898:12) + at Runtime.requireModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:746:10) + at Runtime.require [as requireModuleOrMock] (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:919:21) + at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\tests\functions-and-arrays.spec.js:13:5) + at Runtime._execModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:1299:24) + at Runtime._loadModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:898:12) + at Runtime.requireModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:746:10) + at jasmine2 (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\index.js:230:13) + at runTestInternal (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runner\build\runTest.js:380:22) + at runNextTicks (node:internal/process/task_queues:60:5) + at processTimers (node:internal/timers:516:9) + at runTest (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runner\build\runTest.js:472:34)
at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\src\functions-and-arrays.js:162:9) + at Runtime._execModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:1299:24) + at Runtime._loadModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:898:12) + at Runtime.requireModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:746:10) + at Runtime.require [as requireModuleOrMock] (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:919:21) + at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\tests\functions-and-arrays.spec.js:13:5) + at Runtime._execModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:1299:24) + at Runtime._loadModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:898:12) + at Runtime.requireModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:746:10) + at jasmine2 (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\index.js:230:13) + at runTestInternal (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runner\build\runTest.js:380:22) + at runNextTicks (node:internal/process/task_queues:60:5) + at processTimers (node:internal/timers:516:9) + at runTest (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runner\build\runTest.js:472:34)
at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\src\functions-and-arrays.js:181:9) + at Runtime._execModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:1299:24) + at Runtime._loadModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:898:12) + at Runtime.requireModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:746:10) + at Runtime.require [as requireModuleOrMock] (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:919:21) + at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\tests\functions-and-arrays.spec.js:13:5) + at Runtime._execModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:1299:24) + at Runtime._loadModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:898:12) + at Runtime.requireModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:746:10) + at jasmine2 (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\index.js:230:13) + at runTestInternal (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runner\build\runTest.js:380:22) + at runNextTicks (node:internal/process/task_queues:60:5) + at processTimers (node:internal/timers:516:9) + at runTest (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runner\build\runTest.js:472:34)
at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\src\functions-and-arrays.js:182:9) + at Runtime._execModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:1299:24) + at Runtime._loadModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:898:12) + at Runtime.requireModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:746:10) + at Runtime.require [as requireModuleOrMock] (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:919:21) + at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\tests\functions-and-arrays.spec.js:13:5) + at Runtime._execModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:1299:24) + at Runtime._loadModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:898:12) + at Runtime.requireModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:746:10) + at jasmine2 (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\index.js:230:13) + at runTestInternal (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runner\build\runTest.js:380:22) + at runNextTicks (node:internal/process/task_queues:60:5) + at processTimers (node:internal/timers:516:9) + at runTest (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runner\build\runTest.js:472:34)
at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\src\functions-and-arrays.js:212:9) + at Runtime._execModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:1299:24) + at Runtime._loadModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:898:12) + at Runtime.requireModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:746:10) + at Runtime.require [as requireModuleOrMock] (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:919:21) + at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\tests\functions-and-arrays.spec.js:13:5) + at Runtime._execModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:1299:24) + at Runtime._loadModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:898:12) + at Runtime.requireModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:746:10) + at jasmine2 (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\index.js:230:13) + at runTestInternal (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runner\build\runTest.js:380:22) + at runNextTicks (node:internal/process/task_queues:60:5) + at processTimers (node:internal/timers:516:9) + at runTest (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runner\build\runTest.js:472:34)
at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\src\functions-and-arrays.js:213:9) + at Runtime._execModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:1299:24) + at Runtime._loadModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:898:12) + at Runtime.requireModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:746:10) + at Runtime.require [as requireModuleOrMock] (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:919:21) + at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\tests\functions-and-arrays.spec.js:13:5) + at Runtime._execModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:1299:24) + at Runtime._loadModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:898:12) + at Runtime.requireModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:746:10) + at jasmine2 (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\index.js:230:13) + at runTestInternal (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runner\build\runTest.js:380:22) + at runNextTicks (node:internal/process/task_queues:60:5) + at processTimers (node:internal/timers:516:9) + at runTest (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runner\build\runTest.js:472:34)
at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\src\functions-and-arrays.js:214:9) + at Runtime._execModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:1299:24) + at Runtime._loadModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:898:12) + at Runtime.requireModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:746:10) + at Runtime.require [as requireModuleOrMock] (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:919:21) + at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\tests\functions-and-arrays.spec.js:13:5) + at Runtime._execModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:1299:24) + at Runtime._loadModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:898:12) + at Runtime.requireModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:746:10) + at jasmine2 (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\index.js:230:13) + at runTestInternal (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runner\build\runTest.js:380:22) + at runNextTicks (node:internal/process/task_queues:60:5) + at processTimers (node:internal/timers:516:9) + at runTest (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runner\build\runTest.js:472:34)
at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\src\functions-and-arrays.js:269:9) + at Runtime._execModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:1299:24) + at Runtime._loadModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:898:12) + at Runtime.requireModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:746:10) + at Runtime.require [as requireModuleOrMock] (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:919:21) + at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\tests\functions-and-arrays.spec.js:13:5) + at Runtime._execModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:1299:24) + at Runtime._loadModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:898:12) + at Runtime.requireModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:746:10) + at jasmine2 (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\index.js:230:13) + at runTestInternal (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runner\build\runTest.js:380:22) + at runNextTicks (node:internal/process/task_queues:60:5) + at processTimers (node:internal/timers:516:9) + at runTest (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runner\build\runTest.js:472:34)
at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\src\functions-and-arrays.js:309:9) + at Runtime._execModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:1299:24) + at Runtime._loadModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:898:12) + at Runtime.requireModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:746:10) + at Runtime.require [as requireModuleOrMock] (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:919:21) + at Object.<anonymous> (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\tests\functions-and-arrays.spec.js:13:5) + at Runtime._execModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:1299:24) + at Runtime._loadModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:898:12) + at Runtime.requireModule (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runtime\build\index.js:746:10) + at jasmine2 (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-jasmine2\build\index.js:230:13) + at runTestInternal (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runner\build\runTest.js:380:22) + at runNextTicks (node:internal/process/task_queues:60:5) + at processTimers (node:internal/timers:516:9) + at runTest (C:\Users\USER\Desktop\trioes\lab-javascript-functions-and-arrays\node_modules\jest-runner\build\runTest.js:472:34)