2009-02-05 文字列の並びを反転させる javascript 覚え書き alert('hogefuga'.split('').reverse().join('')); 空文字でsplit→reverseで配列をひっくり返す→joinで空文字で繋げ直す でok。超簡単だお( ^ω^)