Study material generic cover image

Summary Introduction to JavaScript

0 Flashcards & Notes
Scroll down to see the PDF preview!
PLEASE KNOW!!! There are just 0 flashcards and notes available for this material. This summary might not be complete. Please search similar or other summaries.
  • This summary
  • +380.000 other summaries
  • A unique study tool
  • A rehearsal system for this summary
  • Studycoaching with videos
Remember faster, study better. Scientifically proven.
Trustpilot Logo

A snapshot of the summary - Introduction to JavaScript

  • 1 Introduction

  • 1.1.1 What is JavaScript?

  • Why is JavaScript often the first language learned by self-taught coders?
    JavaScript remains at the core of web development
  • 1.1.2 Console

  • What is a console?
    A panel that displays important messages for developers (like errors)
  • Much of the work the computer does with our code is invisible for us by default. What can we do to see things appear on our screen?
    Print, or log, to our console directly
  • Where does the console keyword refer to in JavaScript?
    An object (a collection of data and actions) that we can use in our actions
  • What happens with the code we put in console.log()?
    The code inside wil get printed (or logged) to the console
  • 1.1.3 Comments

  • Why is it useful not leave notes in your code?
    The code can quickly become difficult to understand when we return to it
  • What do comments in JavaScript describe?
    • Explain what the code is doing
    • Leave instructions for other developers using the code
    • Other useful annotations
  • What are the two types of code comments in JavaScript?
    1. Single line comment: comments out a single line with two forward slashes // in front of the line
    2. Multi line comment: comment out multiple lines and is denoted with /* to begin the comment, and */ to end the comment
  • 1.1.4 Datatypes

  • What are the seven fundamental data types in JavaScript?
    1. Number
    2. String
    3. Boolean
    4. Null
    5. Undefined
    6. Symbol
    7. Object
  • What does the data type Numbers represent?
    Any number, including decimals (4,1516,23.42)
PLEASE KNOW!!! There are just 0 flashcards and notes available for this material. This summary might not be complete. Please search similar or other summaries.
Read the full summary
This summary. +380.000 other summaries. A unique study tool. A rehearsal system for this summary. Studycoaching with videos.