For JavaScript I can ask about let vs const? What are arrow functions good for? Maybe specific framework stuff if they say they know react.
For general web stuff, I can ask about response codes. What's the difference between 400 and 500 level? What's a CDN for? What is HTTPS?
You can ask basics about version control or CI. Sometimes I'll do process questions about agile.
I try to stick to what they claim on their resume (and what I know about) and can tell pretty quickly if they are actually what they say they are based on how quickly, confidently and succinctly they answer.
Doesn't matter what the specific answers are, much less if you even like language X or not. Instead it says: does the person really have an understanding of the language; do they have enough experience to say "well I really do like X, but I do often wish it had feature y of language Z". or "yes, I have a lot of JS experience since that's the job and I sure know how to sling it, but I far prefer Lisp which I found made me more productive than any other. Why? Well because at XXX I was able to do YYY...."
It's very free-form and honest, and gives you the potential to dive into things technically.
Do you like C or C++ better? Oh you don't like pointers? How do you avoid them in C++? etc.