Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Booleans, how do they work?

  const DEBUG = process.env.NODE_ENV !== 'production'
  module.exports = {
    debug: DEBUG ? true : false




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: