BitlystBitlyst
PostsSeriesTopicsAbout

Bitlyst

Short, diagram-first posts on JavaScript, React & Next.js. Follow via RSS or the newsletter.

© 2026 Mohsen Fallahnejad

PostsSeriesTopicsLinksAboutSync devicesRSSGitHubX
← All topics

#boolean

1 post

Boolean(x) vs !!x, Number vs parseInt, and String() vs toString()

Boolean and !! match. Number and + match, except a BigInt. String(null) is "null"; null.toString() throws.

Nov 17, 20268 min read

Related topics

#interview#javascript#numbers#parseint#performance#strings