DEV Community

Discussion on: Common JavaScript Tips

Collapse
4rontender profile image
Rinat Valiullov • Edited on
const a = 0

let b = 0 // one remark: not const

!a ? b = 1 : b = 2

Enter fullscreen mode Exit fullscreen mode
Collapse
maciejtrzcinski profile image
Maciej Trzciński 🌱🇵🇱 Author

Thank you for your attention!