In general, dynamic languages (like JavaScript or Python) tend to be more terse then statically typed languages like Java. In fact, that is one of their key selling points. So I tried a little experiment.
I have a simple blackjack game that I create when learning (or teaching) a new language. I recently created a Kotlin version of the game and compared the lines of code to the JavaScript version of the game.
The Kotlin version of the game was 17% fewer lines of code than the JavaScript version.
This is surprising that a statically typed language was more concise than a dynamically typed language. In other words, Kotlin with type annotations is more terse than JavaScript without type annotations.
My next comparison will be Kotlin vs JavaScript with type annotations (i.e. TypeScript).