Surely nobody would use javascript for either yea? The weaknesses of the language are amplified in constrained environments: low certainty, high memory pressure, high startup costs.
It's probably the most popular language for serverless.
When people go AWS, Azure, GCP,... other languages take the reigns.