Tsallaka zuwa abun ciki
Justice Tech School

Keywords and Identifiers

Keywords such as let, const, if and function are reserved. Identifiers are names you choose. They may contain letters, digits, _ and $ but cannot start with a digit.

Example
const userName = "Ada";
let _count = 3;
let $price = 9.5;
console.log(userName, _count, $price);

Exercise

Valid name start.

let name = 1;

Quiz Test

Which identifier is invalid?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.