結果 : create json object with variables in javascript