πŸ“Š JavaScript
Q. What will be the output of the below code?
Code:
let chaval= (p)=>p+2;
console.log(chaval(2));
  • (A) 4
  • (B) 22
  • (C) Error: changeVal is not a function
  • (D) undefined
πŸ’¬ Discuss
βœ… Correct Answer: (A) 4

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
199
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
98%
Success Rate