CS Fundamentals Trainer · JavaScript · Security
Which values are acceptable to ship in a front-end JavaScript bundle?
- A public analytics measurement ID
- A Stripe publishable key (`pk_live_...`)
- The database password used by the API
- A Stripe secret key (`sk_live_...`)
- The client secret of a confidential OAuth client
Difficulty: easy