JavaScript mendapatkan core cpu

var cpuThreads = navigator.hardwareConcurrency // integer
// Returns logical CPU cores so called threads
NotDamian