Intro to JavaScript

Agnes Shin·2022년 2월 4일
0
post-custom-banner

Things to know about in Javascript...
If you understand the concept, you will catch on quickly!

TIL... learning about the words and meaning behind it.

  1. What is a keyword?
    Keywords are words that are built into the JavaScript language.
    The computer will recognize them and treats tham specially.

  2. What is a console keyword?
    The console keyword refers to an object.
    It is a collection of data and actions that we can us in our code.

  3. What is .log() method?
    One action, or method, that is built into the console object is the.log() method.

  4. What is console.log()?
    what we put inside these parentheses will get printed or logged, to the console.
    example)

    console.log(5); // Output 5

This example logs 5 to the console. The semicolon denotes teh end of the line, or statement.

  1. What does the semicolon do?
    The semicoloe denotes the end of the line, or statement.
    ** recommend learing the habit of ending each statement with a semicolon. So you never learn one out in the few instances when they are required.
profile
30기 신윤숙 / FE
post-custom-banner

0개의 댓글