結果 : write a javascript program to print the following pattern