Objects in JavaScript |JavaScript Objects | Objects in JavaScript Telugu | JavaScript for beginners

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 2024

ความคิดเห็น • 130

  • @codecreator5016
    @codecreator5016 ปีที่แล้ว +3

    // Note:-in every programming language value assign ,value update or modify,value delete based on logic this is common pattern
    // 1)00:00 intro about objects.
    // 2) 04:00 ways to create objects. 5ways.
    // 3)04:30 object literal. To create object
    // 4)12:00 how to access object values. Two ways are present. (If i want a sixth name how can I get if we take example if we created multible object like json from that we want sixth object name what we can do if we take array by using index value we can access any value by using index position.
    // 5)16:40 note point for access property value we want to give quotes for name.
    // 6)18:50 how to add or modify elements to a object.
    // 7)26:20 new object method create and update values.
    // 8)30:50 new operator with constructor function.
    // 9)37:20 new operator with constructor function practical code on vs studio. Here we are creating multible objects with sing constructor function stoured in different variable value.
    // 10)41:50 adding new name to the object method.
    // 11)43:55 objects create method.
    // 12)52:50 method in objects Method means create a function inside object and assign to key.
    // 13)57:00 difference between outside function and object function .
    // 14)58:20 for in
    // 15)01:03:10 for print keys from object
    // create empty object //ading properties to the object (note if object exist we can able to add properties )
    let movies= {
    }
    // console.log(typeof(movies))
    //assign values to the object
    movies.ntr="rrr";
    // movies.hero.telugu="ntr"; -- for this method we can cannot able to set the properties
    movies.hero="ntr";
    // console.log(movies)
    //how we can access the element values from the object
    // method-1
    var a= movies['ntr']
    // console.log(a)
    // method-2
    var b =movies.hero
    // console.log(b)
    //modify the object
    movies.hero="vijay devara konda"
    // console.log(movies.hero)
    //adding new propery to a object
    movies["industry"]="telugu";
    movies.cinema="telugu hit"
    // console.log(movies);
    //method 2 new Object constructor method.
    let murali= new Object()
    murali.village="pathagunta";
    // murali["brother"]="lokesh";
    // console.log(murali)
    // methos-3 new object constructor function method (this method is used for same property name structure we use different type of values)
    // here we follow two steps 1)function create and function call method
    // method-3 create function or function definition
    function user(name,place,pin) {
    this.name=name;
    this.place=place;
    this.pin=pin;
    let a=20;
    let b=50;
    }
    // function call
    let user1=new user("jegini","pathagunt","517569")
    // console.log(user1)
    //update the values and add the values to the constructor function method
    let user2 =new user("xyz","abc","4356788")
    user2.phonenum="988988887838";
    user2["type"]="object"
    // console.log(user2)
    // method-4 Object.create method code not practice.
    //methods in objects
    function mass(name,place) {
    this.name=name;
    this.place=place;
    this.login=function(){
    console.log("hello" + this.name+ "welcome to the" + this.place)
    }
    }
    let mass1=new mass("lokesh","pathaguta")
    console.log(mass1)
    console.log(mass1.login())
    var checking={
    place:"pathagunt",
    pin:"517569"
    }

    • @csworldtelugu
      @csworldtelugu  ปีที่แล้ว +1

      Thanks

    • @jeginilokesh
      @jeginilokesh 11 หลายเดือนก่อน

      16:30 with and without string quotes note point

  • @prasannakumarmungalla2121
    @prasannakumarmungalla2121 5 หลายเดือนก่อน +4

    Unbelievable ,
    Fantastic explanation
    I ever seen in TH-cam like your explaining way....

  • @jobpreparation5143
    @jobpreparation5143 2 ปีที่แล้ว +3

    3) object.create method 43:00
    2)52:00 methods 52:00

  • @jobpreparation5143
    @jobpreparation5143 2 ปีที่แล้ว +1

    Note:-in every programming language value assign ,value update or modify,value delete based on logic this is common pattern
    1)00:00 intro about objects.
    2) 04:00 ways to create objects. 5ways.
    3)04:30 object literal. To create object
    4)12:00 how to access object values. Two ways are present. (If i want a sixth name how can I get if we take example if we created multible object like json from that we want sixth object name what we can do if we take array by using index value we can access any value by using index position.
    5)16:40 note point for access property value we want to give quotes for name.
    6)18:50 how to add or modify elements to a object.
    7)26:20 new object method create and update values.
    8)30:50 new operator with constructor function.
    9)37:20 new operator with constructor function practical code on vs studio. Here we are creating multible objects with sing constructor function stoured in different variable value.
    10)41:50 adding new name to the object method.
    11)43:55 objects create method.
    12)52:50 method in objects Method means create a function inside object and assign to key.
    13)57:00 difference between outside function and object function .
    14)58:20 for in
    15)01:03:10 for print keys from object

  • @codecreator5016
    @codecreator5016 ปีที่แล้ว +1

    note point 0:30 object always show data like collection format east trick curly bracess collection

  • @jobpreparation5143
    @jobpreparation5143 2 ปีที่แล้ว +1

    26:40 using new key word object constructor method

  • @yadavgariabbaikrishna2732
    @yadavgariabbaikrishna2732 2 ปีที่แล้ว +1

    Ur explanation super Thanks you very much

  • @GovindRaj-ql5fi
    @GovindRaj-ql5fi ปีที่แล้ว +2

    Thank you స్వాతి

  • @jobpreparation5143
    @jobpreparation5143 2 ปีที่แล้ว +1

    44:30 create object method

  • @prasankumar4306
    @prasankumar4306 2 ปีที่แล้ว +1

    Nice Explanation... keep maing videos...

  • @mukkalanagaraju5184
    @mukkalanagaraju5184 2 หลายเดือนก่อน +1

    At 33:39 object nee access chesukunetappudu user1['key'] ani ivvali kada akkada user1[key] icchina avutunda

    • @csworldtelugu
      @csworldtelugu  หลายเดือนก่อน

      User[key ] ante key Ane variable lo unna value teskuntundi for ex let key= "age" then user[key]= user["age"] or user.age

  • @jobpreparation5143
    @jobpreparation5143 2 ปีที่แล้ว +1

    07:37 create a object in vs studio

  • @jobpreparation5143
    @jobpreparation5143 2 ปีที่แล้ว +1

    03:47 way to create object

  • @kotamanohar8561
    @kotamanohar8561 ปีที่แล้ว +1

    Nice Explanation Madam

  • @jobpreparation5143
    @jobpreparation5143 2 ปีที่แล้ว +1

    21:00 before update and after updating

  • @jobpreparation5143
    @jobpreparation5143 2 ปีที่แล้ว +1

    30:30 constructor method

  • @shravanikodipyaka9619
    @shravanikodipyaka9619 2 ปีที่แล้ว +1

    18:30 access the element means "Read" in CRUD operation right ?

  • @jobpreparation5143
    @jobpreparation5143 2 ปีที่แล้ว +1

    56:30 note point

    • @csworldtelugu
      @csworldtelugu  2 ปีที่แล้ว

      Can you please try to put all in one comment,Will pin all your conments

  • @jobpreparation5143
    @jobpreparation5143 2 ปีที่แล้ว +1

    05:14 difference between object and array

  • @battulaprathap5865
    @battulaprathap5865 ปีที่แล้ว +1

    super explanation medam

  • @jobpreparation5143
    @jobpreparation5143 2 ปีที่แล้ว +1

    10:50 how to access properties from object

  • @avinash4007-o1l
    @avinash4007-o1l ปีที่แล้ว +1

    1:02:12 for in loop loo user1["key"] enduku use cheyaledhu ?

    • @csworldtelugu
      @csworldtelugu  ปีที่แล้ว +1

      It is coming from variable so quotes include cheyakudadhu,quotes iste adi fixed string value

  • @umaprasannagudipudi9094
    @umaprasannagudipudi9094 6 หลายเดือนก่อน

    Mam again ,Can you please explain about object.create()

  • @tejas6038
    @tejas6038 2 ปีที่แล้ว +2

    Thanks mam

  • @shivareddy4169
    @shivareddy4169 7 หลายเดือนก่อน +2

    supper prediction bahi...

  • @jobpreparation5143
    @jobpreparation5143 2 ปีที่แล้ว +1

    10:12 in objects order is not same it show in alphabetical ordered

  • @sandhyam1574
    @sandhyam1574 2 ปีที่แล้ว +1

    Hi andi, pls post video on Classes.Thank you

    • @csworldtelugu
      @csworldtelugu  2 ปีที่แล้ว

      Hi I will upload in this week

  • @HD_pics
    @HD_pics 3 หลายเดือนก่อน +1

    baa prathi copmments ki answer icche madam akkada chudaledhu 👌👌

  • @jobpreparation5143
    @jobpreparation5143 2 ปีที่แล้ว +1

    19:00 how to add property name and values to a empty object

  • @jobpreparation5143
    @jobpreparation5143 2 ปีที่แล้ว +1

    18:44 how to add new property to object

  • @harshithamusunuri39
    @harshithamusunuri39 หลายเดือนก่อน +1

    Mam can you please explain about using new operator with constructor function

    • @csworldtelugu
      @csworldtelugu  หลายเดือนก่อน

      Watch video from 18:36 ,already explained

  • @nanajikadumula9311
    @nanajikadumula9311 2 ปีที่แล้ว +1

    Angular test cases kuda videos cheyandi

  • @sandhyam1574
    @sandhyam1574 3 ปีที่แล้ว +2

    Hi , This is Sandhya, very impressed with your detailed and in-depth explanation. Please make more videos on JavaScript concepts. Thank you😇

    • @csworldtelugu
      @csworldtelugu  3 ปีที่แล้ว

      Hi thank you,sure I will make

  • @gayathrivuppala8537
    @gayathrivuppala8537 8 หลายเดือนก่อน +1

    hi, can you please explain the object creation. i got error after give values to user3. Thank you!!

    • @csworldtelugu
      @csworldtelugu  8 หลายเดือนก่อน

      What is the error

  • @battulaprathap5865
    @battulaprathap5865 ปีที่แล้ว +1

    Please explain all the patterns in python if possible madam.

  • @gowrishankarm3178
    @gowrishankarm3178 2 ปีที่แล้ว +1

    Hloo Madam, JavaScript tho paatuga parallel ga angular kuda nerchukovacha madam. Ledha oka Dani taruvata okati nerchukovala. Please answer this question madam.
    Thank you!

    • @csworldtelugu
      @csworldtelugu  2 ปีที่แล้ว

      Yes javascript tarvatha angular nerchukondi

    • @gowrishankarm3178
      @gowrishankarm3178 2 ปีที่แล้ว

      @@csworldtelugu meru upload cheysina angular videos lo meru type script use cheysara.

  • @balamnagasai2152
    @balamnagasai2152 ปีที่แล้ว

    a small suggestion sister meeru same edhey vedios english loo kaani chesivunttey mee channel vereey level looo undhunuu sister
    any way nice concepts explanation keep going like this

    • @csworldtelugu
      @csworldtelugu  ปีที่แล้ว

      Thanks for the feedback,In future I will start in english definitely

  • @jobpreparation5143
    @jobpreparation5143 2 ปีที่แล้ว +1

    Comma( ,)operator is used for seperate elements

  • @silpasilpa2119
    @silpasilpa2119 9 หลายเดือนก่อน +1

    Akka question ki ela code rayalo explain chey pls
    You have an array of numbers in js .how would you use the array methods to find the sum of all even numbers in the array
    this is the question

    • @silpasilpa2119
      @silpasilpa2119 9 หลายเดือนก่อน

      Pls reply my question

    • @csworldtelugu
      @csworldtelugu  9 หลายเดือนก่อน +1

      Take one global variable sum =0,You have to iterate each element of array check if element %2 ==0 then add that element to existing sum like
      sum= sum+ele

    • @chandrasekhar-iw9im
      @chandrasekhar-iw9im 8 หลายเดือนก่อน

      @@silpasilpa2119
      var arr =[1,2,3,4,5,6,7,8,9,10]
      var sum =0;
      arr.forEach(ele=>
      {
      if(ele%2==0){
      sum=sum+ele
      }
      })
      console.log(sum)

  • @umaprasannagudipudi9094
    @umaprasannagudipudi9094 7 หลายเดือนก่อน +1

    What is defference between objects and arrays?

  • @leela5375
    @leela5375 2 ปีที่แล้ว +1

    Anni topics cover chesi
    React js cheyandi mam

    • @csworldtelugu
      @csworldtelugu  2 ปีที่แล้ว +1

      React will start after angular

    • @leela5375
      @leela5375 2 ปีที่แล้ว

      @@csworldtelugu ok mam, Thank you so much

  • @mk6263
    @mk6263 ปีที่แล้ว +1

    Is keys shouldn't be written in quotes for strings?In last video u gave double quotes for string keys but here u didnt give?

    • @csworldtelugu
      @csworldtelugu  ปีที่แล้ว

      No issue for single words if quotes or included or not

  • @nagendrakarnareddy5668
    @nagendrakarnareddy5668 ปีที่แล้ว +1

    objects...four types...annam ,pappu,avakaya,gadda perugu....so nice....nu keka cute

    • @csworldtelugu
      @csworldtelugu  ปีที่แล้ว

      Thanks 😀

    • @raj-pl8xz
      @raj-pl8xz ปีที่แล้ว

      Rey evarraa nuvvu intha talented ga unnav

  • @kailashM-kc3ef
    @kailashM-kc3ef ปีที่แล้ว +1

    Hi Please explain Prime number 1 to 100

  • @avinash4007-o1l
    @avinash4007-o1l ปีที่แล้ว +1

    Object.keys or object.values ichinapudu output loo keys Array loo enduku store avutunayi ? I mean output object enduku radhu because manam Object ani keyword use cheystunam kadha mari Array enduku vastundi ?

    • @csworldtelugu
      @csworldtelugu  ปีที่แล้ว +1

      Object.keys will just create a new array with keys as each element

  • @shivareddy4169
    @shivareddy4169 7 หลายเดือนก่อน +1

    super bhai...

  • @ishowspeedboy
    @ishowspeedboy ปีที่แล้ว +1

    Constructer function call lo vunna values anni constructer function lo ki velthayi kadha medam name assigned to value" abc" enka this Ane keyword endhuku medam

    • @csworldtelugu
      @csworldtelugu  ปีที่แล้ว +1

      this use chestene aa object ki bind avautayi

    • @ishowspeedboy
      @ishowspeedboy ปีที่แล้ว

      @@csworldtelugu okay medam 👍

  • @silpasilpa2119
    @silpasilpa2119 9 หลายเดือนก่อน +1

    Some douts in js

    • @csworldtelugu
      @csworldtelugu  9 หลายเดือนก่อน

      Sum of even numbers?

  • @Helpinghands1212
    @Helpinghands1212 หลายเดือนก่อน +1

    Simply it acts like dictionary in python

  • @raj-pl8xz
    @raj-pl8xz ปีที่แล้ว +1

    What is keys... today interview questions

    • @csworldtelugu
      @csworldtelugu  ปีที่แล้ว

      In array we can access elements/values by using indexes,the same way we can access objects values using its keys

    • @raj-pl8xz
      @raj-pl8xz ปีที่แล้ว

      @@csworldtelugu lists lo kuda use chestaamu kada

  • @azharazharuddin5540
    @azharazharuddin5540 6 หลายเดือนก่อน +1

    array send chyali ankunte ela chyali ,mam

  • @ishowspeedboy
    @ishowspeedboy ปีที่แล้ว +1

    Kani meru chepindhi values update chaleyadaniki

  • @sravaninaidu9471
    @sravaninaidu9471 ปีที่แล้ว

    javascript PDF form lo available lo vunda madam

    • @csworldtelugu
      @csworldtelugu  ปีที่แล้ว

      Yes please join channel membership

    • @sravaninaidu9471
      @sravaninaidu9471 ปีที่แล้ว +1

      @@csworldtelugu after joining you share PDF is it correct

    • @csworldtelugu
      @csworldtelugu  ปีที่แล้ว

      @@sravaninaidu9471 I will add you to drive link there I uploaded what ever documents I have

  • @sravaninaidu9471
    @sravaninaidu9471 ปีที่แล้ว

    javascript PDF form lo available vunda mam

  • @Vihaan64_23
    @Vihaan64_23 2 ปีที่แล้ว +2

    madam javascript total pdf pettagalara

    • @csworldtelugu
      @csworldtelugu  2 ปีที่แล้ว

      I have not written notes ,I will write in future

  • @silpasilpa2119
    @silpasilpa2119 9 หลายเดือนก่อน +1

    Akka mi tho okasari contact avali

    • @csworldtelugu
      @csworldtelugu  9 หลายเดือนก่อน

      DM to csworldtelugu on Instagram

  • @devils_ka_devils_23
    @devils_ka_devils_23 ปีที่แล้ว +1

    Madam meeku cheppdam vacha objects lo object.create method lo asalu em chepparu first lo explanation ichindi okari program lo rasindi okati

    • @csworldtelugu
      @csworldtelugu  ปีที่แล้ว +2

      Don't watch if you feel wrong

    • @umaprasannagudipudi9094
      @umaprasannagudipudi9094 6 หลายเดือนก่อน

      Objects vedio chustu w3schools website lo matter chudu ,at that time you can understand easily

    • @venkikoduru7914
      @venkikoduru7914 3 หลายเดือนก่อน +1

      Watch her tutorials she provides best content for us. Don't make bad comment dude

    • @ganibhai8594
      @ganibhai8594 2 หลายเดือนก่อน +2

      Enti madam ki vacha ani aduguthunnava asalu ninnu evadu chudamannadu chusthe chudu lekapothe ledhu madam mathram super ga cheputhadhi a learned a lot from this Channels plz respect our mam ❤

    • @NarasimhaReddy-mv3hs
      @NarasimhaReddy-mv3hs หลายเดือนก่อน

      Ledhu correct ga ney mimo. Platform lo nerchukunna pudi kuda elaney chepparu