How to use a List as a parameter in JS?

Subject says it all. I am just learning how to implement Lists in JS, but now i need to use a List as a parameter. I’m not sure how I would write it. This is what I tried, but it didn’t happen:

funtion Blah(myList : List<float>);

What would be the correct way to do this?

Nearly there!

function Blah(myList : List.<float>) {
}