I agree with a lot of the other posts.
It is not a good idea to post what worked for me (because I expect there will be downvotes, etc.).
So I think it depends on the specific situation.
My strategy was:
- be exceptionally good at programming
- lie a lot in the CV, but only about experience with programming languages
- go to many interviews
One third of programming languages on my CV I have never really programmed in. Yes, this is questionable. I was very good with haskell, so I wrote experience with Scala, F# and Ocaml on my CV. And further C#, but I never programmed in C#.
In one situation I got check on my Javascript knowledge. I could answer the first one. The second questions I did not know. I said "I don't know. I think this is the answer. This can be written in haskell as a lambda expression like this...".
In one interview it just counted that I had very good grades and they didn't care so much about the programming details. In another interview they where just impress about the detailed knowledge I had in user interface design.
Another time it just counted to have very detailed knowledge about the specifics of design patters. Questions like "what architectural design patterns do you know?". Of course I knew all design patters listed on wikipedia. (And from my OOP classes the details about their use.)
So in my special case lying about my programming language experience did not have a negative impact.
Going to many interviews helped, because as soon as I had two very good offers in my pocket I was quite relaxed at the following interviews.
Presenting yourself during the interview is the most important aspect. And luck, e.g., being at the right place at the right moment.