Skip to content

Commit 3742f8b

Browse files
authored
Create 1662-check-if-two-string-arrays-are-equivalent.js
1 parent f0deeac commit 3742f8b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/**
2+
* @param {string[]} word1
3+
* @param {string[]} word2
4+
* @return {boolean}
5+
*/
6+
const arrayStringsAreEqual = function(word1, word2) {
7+
return word1.join('') === word2.join('')
8+
};

0 commit comments

Comments
 (0)