Pergunta de entrevista da empresa Spiceworks Ziff Davis

How is heap calculated in Javascript