JavaScript obtenga núcleos de CPU

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