0

Is there a better way to write that :

var modifier = {};
modifier[rowId + '.' + columnName] = value;

I can't use the following as it only accepts a constant for the first part.

modifier = { rowId + '.' + columnName : value}

Thanks.

Nicolas
  • 743
  • 1
  • 7
  • 15

0 Answers0