227 215 bytes
Try It On Desmos!
Try It On Desmos!(Prettified Version)
Final function is \$m(a,b)\$, where \$a\$ is the list that is being trimmed, and \$b\$ is the list of "falsey" values that are trimmed from \$a\$.
Much harder than I initially anticipated because Desmos has limited list functionality. Hopefully it's fine if I output an one-element list with the one element being
[undefined]) when the output is supposed to be an empty list(
). If it isn't fine then tell me and I can fix(but it would cost more bytes ☹️)
Note: Not too sure why, but you can't directly paste the code into Desmos for some reason. You have to paste each expression one at a time in order for it to work.