While you're not expected to be an encyclopedia of knowledge about any particular language, framework, or API; having the frequent need to look things up is a red flag because if you're always looking things up you may not move fast enough.
Also, having the "this is not a problem" attitude is a red flag; what else would this person not consider a problem when I hire them?