Javascript introduction Flashcards
Javascript
JavaScript is a programming language that powers the dynamic behavior on most websites. Alongside HTML and CSS, it is a core technology that makes the web run.
console.log()
method used to print messages to the console. can also be used to print objects and other info. Technically the .log() method is being called to the console object
Strings
primitive data type with groupings of characters (letters, spaces, numbers, symbols) etc surrounded by quotations
Numbers
primitive, include integers and floating point numbers
Booleans
primitive, can be true or false
Null
primitive, represents intentional absence of a value
Undefined
also represents absence of a key value but has a different use to null
object
collections of related data
arithmetic operator
a character which performs a task in code. i.e. +, -, *, /