Zapisuje JavaScript

# Arrow Function With Object Destructured Parameters
let sum = ({ param1, param2 }) => param1 + param2;
let object = {param1: 5, param2: 15};
let result = sum(object);
Muhammad Farzam Ajmal