Search Header Logo
JavaScript

JavaScript

Assessment

Presentation

•

Information Technology (IT)

•

6th - 8th Grade

•

Practice Problem

•

Hard

Created by

A Mamazhusup

Used 16+ times

FREE Resource

19 Slides • 0 Questions

1

media

Number
BigInt
String
Boolean
Null
Undefined
Symbol

​

​Js - data types

2

​Null: This data type represents the intentional absence of a value, and is represented by the keyword null (without quotes).

Undefined: This data type is denoted by the keyword undefined (without quotes). It also represents the absence of a value though it has a different use than null. undefined means that a given value does not exist.

Symbol: A newer feature to the language, symbols are unique identifiers, useful in more complex coding. No need to worry about these for now.

Object: Collections of related data.

3

media

On line 1, log the string 'JavaScript' to the console.

​On line 2, log the number 2011 to the console.

On line 3, print 'Woohoo! I love to code! #codecademy' to the console.
On line 4, print the number 20.49 to the console.

instructions

4

media

5

Arithmetic operators
media
media
media

6

String Concatenation
media

​Inside a console.log() statement, concatenate the two strings 'Hello' and 'World'.
Create a second console.log() statement in which you concatenate the strings 'Hello' and 'World', but this time make sure to also include a space (' ') between the two words.

7

Properties
media
media

8

Methods
media

9

Methods
media
media

10

Built-in Objects
media
media

11

Built-in Objects
media

12

media
JavaScript Variables

13

Variable is a container for a value. You can think of a variable as little containers for information that live in computers memory.
Information stored in variables, such as username, account number etc.

Create a variable with a descriptive name.

  1. Store or update information stored in a variable.

  2. Reference or “get” information stored in a variable.

  3. Reference or “get” information stored in a variable.


media

14

media

​Create a Variable: let

media

​If we don’t assign a value to a variable declared using the let keyword, it automatically has a value of undefined

We can reassign the value of the variable

15

media

16

​Create a Variable: const

media
media

17

media

18

19

Properties
pattern-tertiary
media

Number
BigInt
String
Boolean
Null
Undefined
Symbol

​

​Js - data types

Show answer

Auto Play

Slide 1 / 19

SLIDE