結果 : javascript pass input value to function