10 JavaScript Topics That You Should Know — part 2

try {
// code that can have problem
}
catch {
// code that can handle the problem created in 'try' block
}
console.log(52 + 42); // 94
const showName = (name) => {
// execute something
}
const person = {name: 'Roky Das', age: 22};const {name, age} = person;  // Object Destructuringconsole.log(name, age); // 'Roky Das', 22
const showName = () => {
const name = 'Roky Das';
}
const A = [4, 5, 6];
const B = [...a, 7, 8, 9];
console.log(B) // [4, 5, 6, 7, 8, 9]

--

--

--

I am an enthusiastic JavaScript developer with knowing some framework for the frontend and the backend.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Whats is new in Node.js 17 and how can I use it today?

Integrating React Native in an Existing App

Angular Basics-12

Publish NPM Package in minutes

I’m not understanding how to use this app ? I need some help

Upload Files with Angular and .NET Web API

5 Simple Things You Can Do To Make Your Website Standout

The NPM Lifecycle Event variable

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Roky Das

Roky Das

I am an enthusiastic JavaScript developer with knowing some framework for the frontend and the backend.

More from Medium

Basics of JavaScript and Version Controlling

An Introduction to JavaScript Promise for Beginners

Time , Tide & Javascript wait for none

oop in javascript! part1: prototype

8 must know JavaScript array methods.

article flyer