Pergunta de entrevista da empresa Caterpillar

why not JavaScript why typescript # difference first and FirstOrDefault in LINQ which condition we make constructor as private and static