Valor del conjunto de datos de cambio de JavaScript
let newvalue = 'foo'
element.setAttribute('data-something', newvalue )
Awful Angelfish
let newvalue = 'foo'
element.setAttribute('data-something', newvalue )