$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · medium · #187

Fill the blank

// read the id written in the markup
const id = el.____.userId;

Answer: dataset (also accepted: dataset, dataset())

dataset exposes every data-* attribute in camelCase.
Play Problem Solving ▸