結果 : javascript pass json object to function