JavaScript:实现给定两个长度相同的字符串s1和s2,如果s2是s1的乱序字符串则返回真,否则返回假算法
/**
* Given two strings s1 and s2 of the same length, return true if s2 is a scrambled string of s1, otherwise, return false.
* @param {string} s1
* @param {string} s2
* @return {boolean}
*/
const isScramble = (s1, s2) => {
return helper