Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var getStrType = function(str){ //0 for pure kanji,1 for kanji-hira(kana)-mixed,2 for pure hira(kana),3 for others
var hasKJ = false;
var hasHK = false;
for(var i=0;i
var hasKatakana = function(str){
for(var i=0;i