結果 : write unit test for javascript