UNPKG

280 BJavaScriptView Raw
1/*
2 MIT License http://www.opensource.org/licenses/mit-license.php
3 Author Tobias Koppers @sokra
4*/
5
6"use strict";
7
8exports.equals = (a, b) => {
9 if (a.length !== b.length) return false;
10 for (let i = 0; i < a.length; i++) {
11 if (a[i] !== b[i]) return false;
12 }
13 return true;
14};