Let's say I have a simple function like this:

```
function alertMessage(message){
  alert(message);
}
alertMessage("Hello World");

```

And when I type this function's name inside Chrome's console, I get something like this.

[![](https://i.snag.gy/6zWJHv.jpg)](https://i.snag.gy/6zWJHv.jpg)

Is it possible to get the variable type of the parameter `message`? In that case, I believe it should be `string`, since that's the parameter type for the function `alert` according to W3schools.

Thanks in advance