Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
getScripts(str) {
const result = [];
const chars = str.split('');
for (let i = 0; i < chars.length; i += 1) {
result.push(Language.getTopScript(chars[i]));
}
return result;
}