I keep getting weird errors when writing a simple anonymous function declarations. 
I tried to search for a solution but I can't find one. 

[![Simple Problem](https://i.stack.imgur.com/zPjhl.png)](https://i.stack.imgur.com/zPjhl.png)

It also happens when i write this:

```
functionOne();

var functionOne = function() {
  console.log("Hello!");
};

```

or this

```
(()=> {
  //something
})

```