JS has some good ideas, such as functions

Functions are an important part of JS, they're a primary object in
the language, so you can treat them as data.
Another good part is loose typing

JS does not check types for you, thus allowing a cleaner expressive
code and avoiding typing syntax sugar (declaring types, casting, etc.)