- Javascript is object oriented. Till, ECMAScript 5, no class was available in javascript. You need to play with objects for achieving the class
- Due to same above reason, properties of objects(class) could be modified later, which is in contrast to other languages. Like in Java once class is delcared you can not change its properties.
- Javascript uses the internal Put method to add new own property on the object. Own properties are different from prototype properties.
- Each function is an object. Also, functions are first class Functions. Javascript uses function's internal method call to differentiate it from other type of objects.
- Internal method Set is used when a new value is assigned to existing property.
- Internal method Delete is called when a delete operation is performed on an object like
delete employee.address
. - props in object would enumerate all properties including the prototype (for which Enumerable attribute is set to true).
Object.keys(object)
only returns the array
Would create the JDK directory under /usr/java.
wget --no-cookies --no-check-certificate \
--header "Cookie: oraclelicense=accept-securebackup-cookie" \
"https://download.oracle.com/otn-pub/ja va/jdk/8u201-b09/42970487e3af4f5aa5bca3f542482c60/jdk-8u201-linux-x64.rpm" \
-O jdk-8-linux-x64.rpm