結果 : write a program using string object properties and methods.in javascript