Last change
on this file since 188ee53 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
280 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | /*
|
---|
| 2 | MIT License http://www.opensource.org/licenses/mit-license.php
|
---|
| 3 | Author Tobias Koppers @sokra
|
---|
| 4 | */
|
---|
| 5 |
|
---|
| 6 | "use strict";
|
---|
| 7 |
|
---|
| 8 | exports.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 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.