In order to create a new data attribute in JavaScript we just need to add a new property to the dataset object with a value. const div = ...
確定! 回上一頁