Question: > 
> Is Stack overflow chat only for programming related topics or for others also?
> 
> 
> 

There is a [chat room](https://chat.stackoverflow.com/rooms/17/javascript) named JavaScript on chat.stackoverflow.com. As the name suggests, it's related to programming, but the discussion going-on in the chat room is what I think, not related to programming.

In the room they are discussing about some cars and energies and what not. I am unable to relate all that with the JavaScript programming language.

Is it valid to discuss off-topic stuff on chat.stackoverflow.com like that?

If it's valid than I'm confused, is it a part of Stack Overflow?

If it's not valid and a part of Stack Overflow then that kind of chat must be prohibited, mustn't it?

Or does JavaScript mean something else?

Answer: 
<https://chat.stackoverflow.com/faq>

> 
> **What can we chat about?**
> 
> 
> This site is an extension of Stack Overflow, so discussion *should* more or less revolve around the same topics you'd find at Stack Overflow — but in an interactive, less strictly Q&A focused way. Do have fun, but please keep it professional and always be respectful of your fellow community members.
> 
> 
> [...]
> 
> 
> When talking in a room, it's polite to stay *roughly on topic for the room*, as defined by the room owners.
> 
> 
> 

Emphasis mine. It's up to the room owners to decide what's on-topic.

Rooms can also have custom rules. This excerpt comes from the [JavaScript room rules](http://rlemon.github.io/so-chat-javascript-rules/):

> 
> The room title is JavaScript, which only implies we all have some interest in the language. That does not strictly limit the topic of conversation to JavaScript, and often it is not about JavaScript. Please do not inturrupt and complain about this, if you have a comment about the language toss it in and if someone is interested they will stop and help.
> 
> 
>
It's a chat. Just compare it to the water cooler, cafeteria or any other social area in an office. Often people will chat about work related stuff (let's say JavaScript), but there will be random chit-chat, socializing, etc. as well (like what you apparently noticed when joining the room).

Also, I'm pretty sure there *is* some JavaScript in many modern cars. Hopefully not in critical areas but entertainment systems are getting more and more fancy in cars.