Skip to content

Instantly share code, notes, and snippets.

@Hadeel-Ali-Obaid
Forked from halitbatur/variables.md
Created September 25, 2023 14:03
Show Gist options
  • Save Hadeel-Ali-Obaid/5950e75da09dbbdc3ec13ad64d1f2266 to your computer and use it in GitHub Desktop.
Save Hadeel-Ali-Obaid/5950e75da09dbbdc3ec13ad64d1f2266 to your computer and use it in GitHub Desktop.
Discussion Questions about JS

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