結果 : is javascript substr deprecated