• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in JavaScript by
Which one of the following operator is used to check weather a specific property exists or not:

a) Exists

b) exist

c) within

d) in

1 Answer

0 votes

Answer: D

Reason: In JavaScript, the "in" operator is used to check if a specific property exists. The "in" operator is commonly used in looping statements to traverse array and objects as well.

Related questions

0 votes
asked Mar 21, 2021 in JavaScript by rajeshsharma
0 votes
asked Sep 18, 2021 in JavaScript by sharadyadav1986