Device Memory API

We can Determine the amount of Ram a Device Has by using Navigator.deviceMemory in JS

const memory = navigator.deviceMemory;
console.log(`${memory} GB`)