We use this expression to say we have just had a good idea.
You can use this phrase in ………… language.
Spoken
Informal
Example
A: What shall we do tonight?
B: I know what. Why don’t we go to the circus that’s just arrived in town? It could be fun.