1
I am now starting in Javascript I am learning through websites. I went to an excellent site (http://tableless.github.io/iniciantes/manual/js/objetos.html) and so far everything was fine. Except that getting to the part of (Objects) the code does not turn out to be anything. The point is that the code does not seem wrong to me. I don’t think I’m putting the code in full or I’m not saving it in the right extension. I’ve thought about a lot of things and since it doesn’t talk much about inserting in the code in HTML (which is what I’ve been doing), maybe it’s to use a program of its own or something. I ask you to help me.
Hello, welcome. Are you a beginner in javascript and html? What part of the code are you trying to implement? Could you show?
– durtto
Everyone bumps into this question of Javascript object. And that actually the concept of object orientation in the Javascript language is different than other languages. There where a lot of material on the net wants to get into this class approach that is specifically paradigm (Object Oriented), and Javascript has no native class. Everything in the language is an object (Array, Functions, Number...) which consequently has its object constructor, where you encapsulate its properties/methods. I would advise to understand the language more deeply and then apply object-oriented programming!
– dic-chen