object - Javascript datatypes visual -
i'm making visual reference of javascript myself , likes have when it's done, better understanding of core javascript.
now i'm not sure if got datatypes part right, i'm basing visual on book "javascript definitive guide"
so glad hear if structure right.
revised version of visual:
your structure right. javascript has 5 primitive data types: string, number, boolean, undefined, , null. object, array , functions compositive datatypes. link might helpful clear thoughts.data types in javascript
objects contain properties , methods; arrays contain sequential list of elements; , functions contain collection of statements.a function data type in javascript, not common in many other programming languages. means can treated containing values can changed. makes them composite data types. also, javascript not have class "class" in java or python. prototyped object.
Comments
Post a Comment