Question: i try to access this function in my Object with the console.log but i don't really understand why i can't access it!
I'm beginning Javascript but i'm really stuck with accessing functions in Object.

Thanks for the help

```js
const hotel = {
    name: "Grand Hotel",
    location: "Stockholm",
    pricePerNight: 2200,
    roomBooked: 23,
    totalRoom: 223, 
    roomAvailable: function(){
        return this.totalRoom - this.roomBooked;

    }   
    };
    hotel.roomAvailable();
    console.log(hotel.roomAvailable);
```

Answer: 
You're just missing the parentheses in the log function:

```
hotel.roomAvailable()

```
Is this what you want?

```js
const hotel = {
    name: "Grand Hotel",
    location: "Stockholm",
    pricePerNight: 2200,
    roomBooked: 23,
    totalRoom: 223, 
    roomAvailable: function(){
        return this.totalRoom - this.roomBooked;

    }   
    };

    console.log(hotel.roomAvailable());
```