UNPKG
@suncraft/lotide
Version:
latest (1.0.0)
1.0.0
Lighthouse labs lodash remake by students.
github.com/suncraft/lotide
suncraft/lotide
@suncraft/lotide
/
eqArrays.js
17 lines
(12 loc)
•
264 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
const
eqArrays =
function
(
arr1, arr2
) {
let
truthyFalsy;
for
(
let
i =
0
; i < arr1.
length
; i++) {
if
(arr1[i] === arr2[i]) { truthyFalsy =
true
; }
else
{ truthyFalsy =
false
; } }
return
truthyFalsy; };
module
.
exports
= eqArrays;