DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
DevOps & Deployment Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
DevOps & Deployment
What happens in Next.js if you try to access an environment variable that does NOT have the `NEXT_PUBLIC_` prefix inside a browser Client Component?
A
Next.js throws a compilation syntax crash error
B
The value evaluates as `undefined` or an empty string, keeping the secret hidden from the browser bundle
C
Next.js exposes the value publicly to browser consoles
D
The browser page freezes automatically
Check Answer