15 lines
280 B
JavaScript
15 lines
280 B
JavaScript
|
/*
|
||
|
MIT License http://www.opensource.org/licenses/mit-license.php
|
||
|
Author Tobias Koppers @sokra
|
||
|
*/
|
||
|
|
||
|
"use strict";
|
||
|
|
||
|
exports.equals = (a, b) => {
|
||
|
if (a.length !== b.length) return false;
|
||
|
for (let i = 0; i < a.length; i++) {
|
||
|
if (a[i] !== b[i]) return false;
|
||
|
}
|
||
|
return true;
|
||
|
};
|