Difference between revisions of "Template:HSNU-TAIPEI/members js"
Line 22: | Line 22: | ||
for(var i = 0; i < length; i++) { | for(var i = 0; i < length; i++) { | ||
var check = true; | var check = true; | ||
− | |||
if(personName[i] !== ' ' || personName[i] !== '-') { | if(personName[i] !== ' ' || personName[i] !== '-') { | ||
check = false; | check = false; | ||
Line 29: | Line 28: | ||
justifiedName += personName[i]; | justifiedName += personName[i]; | ||
} | } | ||
+ | console.log(check); | ||
+ | console.log(justifiedName); | ||
} | } | ||
return justifiedName; | return justifiedName; |
Revision as of 13:07, 16 June 2015