Category: Programming

ES 6 Title

Object Literal Enhancement

ES6 brought some advancement to javascript, one of these additions has to do with Object Literals. “A JavaScript object literal is a comma-separated list of name-value pairs wrapped in curly braces. Object literals encapsulate data, enclosing it in a tidy package. This minimizes the use of global variables which can cause problems when combining code.” Object literal enhancement is…