write(promise-and-array): Promisesと配列