Some primitive data type is
2 What we do when errors happen!!!
The ‘try’ statement checks the block of code to be tested for errors while it is being executed and if an error occurs in the try block the ‘catch’ statement catches the block of code to be executed.
3 Coding Style for every programmer
For functions :
Put the opening bracket at the end of the first line. Use one space before the opening bracket. Put the closing bracket on a new line, without leading spaces. Do not end a complex statement with a semicolon.
For Object :
Place the opening bracket on the same line as the object name. Use colon plus one space between each property and its value. Use quotes around string values, not around numeric values. Do not add a comma after the last property-value pair. Place the closing bracket on a new line, without leading spaces. Always end an object definition with a semicolon.
5 Arrow Function
6 Spread Syntax (...)
The spread syntax can be used when all elements from an object or array need to be included in a list of some kind. It is much easier to include all previous items or lists them into a new array or object.
7 `Default Parameters of functions
9 ES6 Symbol data type
The symbol is a primitive datatype just like Number, String, or Boolean. Symbols are always unique. For instance, if different coders want to add a person.id property to a person object belonging to a third-party code, they could mix each other's values.
10 cross-browser testing
Sometimes a developer needs to test the project on various platforms to check how to run the project. If A developer develops a web application first and needs to test various browsers. If it works well after that it's definitely works for the real world.