I think he is talking about badly written JS code serving the APIs and the overhead of it.
Of course it's hard to debate whether JS, Java or PHP is most inefficient in that regard.
Of course it's hard to debate whether JS, Java or PHP is most inefficient in that regard.