In the following code, what will be rendered?
const userRole = 'admin'; return userRole === 'admin' && <AdminPanel/>;
null
undefined
<AdminPanel />
An error will occur
This question is part of this quiz :