[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$f6rhncauyptto":3},{"_id":4,"slug":5,"title":6,"subtitle":7,"kind":8,"cards":9,"tags":18,"categories":20,"source":22,"lang":25,"author":26,"audioState":29,"stats":30,"publishedAt":33,"renderer":34},"6abcabd6ca21c797c7ea042c","javascript-functions-crud-operations-on-objects-030487e7","JavaScript Functions & CRUD Operations on Objects 🚀","As a beginner in JavaScript, I learned that functions help us organize and reuse code, while objects help us store related data.","news",[10,13],{"headline":6,"body":11,"imageUrl":12,"sourceImageUrl":12},"As a beginner in JavaScript, I learned that functions help us organize and reuse code, while objects help us store related data. Let's understand both with simple examples. Types of Functions in JavaScript Normal Function A normal function is created using the function keyword. We can pass values to a function. A function can return a value. Arrow functions provide a shorter way to write functions. CRUD Operations on Objects 📦 C → Create R → Read U → Update D → Delete Let's use a simple student object. Create an object with some information. Access the information from the object. console.log(student.name); console.log(student.age); Change an existing value. console.log(student.age); We can also add a new property: Remove a property using the delete keyword. Now the age property is removed.","https:\u002F\u002Fmedia2.dev.to\u002Fdynamic\u002Fimage\u002Fwidth=1200,height=627,fit=cover,gravity=auto,format=auto\u002Fhttps%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwm40ueqq42wctvfeld02.png",{"headline":14,"body":15,"imageUrl":16,"images":17},"Functions = Perform actions ⚙️ Objects = Store","Functions = Perform actions ⚙️ Objects = Store information 📦 CRUD = Create → Read → Update → Delete These are simple concepts, but they are very important when working with JavaScript applications and APIs. Keep practicing small programs before moving to bigger projects! 🚀 For further actions, you may consider blocking this person and\u002For reporting abuse","\u002Fapi\u002Fmedia\u002Fposts\u002Fjavascript-functions-crud-operations-on-objects-030487e7\u002F1.webp",{"local":16},[19],"dev",[21],"Technology",{"name":23,"url":24},"Dev.to","https:\u002F\u002Fdev.to\u002Fnarasimma\u002Fjavascript-functions-crud-operations-on-objects-5ejj","en",{"handle":27,"displayName":28},"spots","Spots","queued",{"views":31,"likes":32,"saves":32,"shares":32,"completions":32,"opens":32,"skips":32,"depthSum":32},1,0,"2026-09-30T06:27:34.441Z","local"]