結果 : get error type javascript