Skip to content

Instantly share code, notes, and snippets.

@halitbatur
Created July 10, 2025 11:20
Show Gist options
  • Save halitbatur/3a763007dbb4229b75f46c37f8253ef4 to your computer and use it in GitHub Desktop.
Save halitbatur/3a763007dbb4229b75f46c37f8253ef4 to your computer and use it in GitHub Desktop.
discussion about variables

JS basics discussion

  • What is the difference between const and let? and why don't we use var?

  • What does return and console.log do inside a function and what is the difference between them?

  • What is a paramater in JS function and why is it there?

  • What are truthy and falsy values in JS? give some example on each

  • What is the difference between abstract equality comparison (==) and strict equality comparison (===)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment