You can do the same thing in JavaScript by calling getHighEntropyValues() on the userAgentData API, passing in an array of the values you want: platformVersion and model.This returns a promise with an object containing the specific values.
You can do the same thing in JavaScript by calling getHighEntropyValues() on the userAgentData API, passing in an array of the values you want: platformVersion and model.This returns a promise with an object containing the specific values.