FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Understanding Objects in JavaScript
NewsWeb Development

Understanding Objects in JavaScript

via Dev.to WebdevBhupesh Chandra Joshi1mo ago

The fact that "everything in JavaScript is an object" is inaccurate, Objects contain six or seven sub types, it dependent on your viewpoint. Functions are one of the sub-type of object and it behaves like object, you can add properies to the function. If we discuss the if statement and the loop( for while do while) in JavaScript, they are not objects,when you check the type, the result will be visible to you. Objects are collection of key/value pairs. The values can be accessed as properties ,via .propName or ["propName"]. let person={ name:"Bhupesh", isActive:true, isBloging:true, education:"bachelor of technology" }; person["name"] or person.name, there are two ways to access the object. person.name="Rohit"; console.log(person.name); This will update the person name from Bhupesh to Rohit. person.city = "Bageshwar"; // This will Add a new property 'Bageshwar' console.log(city); person.age=30; delete person.age; console.log(person);

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
27 views

Related Articles

News

How I Built Simple Automation Systems That Save Time (And Why Businesses Need Them)

Medium Programming • 9h ago

Pidgin 3.0 Alpha 1 2.95.0 has been released
News

Pidgin 3.0 Alpha 1 2.95.0 has been released

Lobsters • 9h ago

Write Once, Run Anywhere (For Real This Time)
News

Write Once, Run Anywhere (For Real This Time)

Medium Programming • 9h ago

Anker’s power bank with built-in cables is one of my favorite gadgets, and it’s cheaper than usual
News

Anker’s power bank with built-in cables is one of my favorite gadgets, and it’s cheaper than usual

The Verge • 10h ago

Meta was finally held accountable for harming teens. Now what?
News

Meta was finally held accountable for harming teens. Now what?

TechCrunch • 10h ago

Discover More Articles