Yee Qiang's Blog

Yee Qiang's Blog

Follow
homebadges
Tag

JavaScript

#javascript

More content

Read more stories on Hashnode


Articles with this tag

JavaScript Objects

May 8, 20223 min read

What is an Object? Almost everything in JavaScript are objects, including arrays. If you try: console.log(typeof []); // output: object So, what...

JavaScript Objects

JavaScript Arrays

May 8, 20222 min read

What is an array? Let's say, you have 3 users and you want to store their names: const user1 = 'A'; const user2 = 'B'; const user3 = 'C'; What if you...

JavaScript Arrays

JavaScript: Functions

May 8, 20221 min read

What is a function? Functions are JavaScript codes that can: Saved for later use. You can call it anytime you want. Use it multiple times. Not like...

JavaScript: Functions

JavaScript: Data Types

May 8, 20221 min read

Primitive Values A primitive is data that is not an object and has no methods. All primitives are immutable/unchangeable. 5 Types of primitive...

JavaScript: Data Types

JavaScript: Variables

May 8, 20222 min read

What are variables? We use variables to store data values. For example, we can use variables to store a user’s email address or name. In JavaScript, a...

JavaScript: Variables