Most FAANG companies do actual coding now instead of whiteboarding :(
I'd much prefer it rather than scribbling in a whiteboard with an eraser that doesn't work and trying to put together the solution
Whiteboard does work for higher level discussions, not for anything resembling code
Lest they ask you to whiteboard FizzBuzz, that makes me want to leave the interview immediately.
In both cases I got the job, then stuck around for 5+ years, so I’m going to say it worked out ;)