How many ways are there for writing comments in react.js?

Answer

There are basically two ways for writing comments in code:
1)Single line comments- In single line comments,we only apply comments in one line only.
eg- //retrun sum of two variable


2)Multi line comments-In multi line comments,we apply comments in various line.
eg-{/*
Multi
line
comment
*/}

All react js Questions

Ask your interview questions on react-js

Write Your comment or Questions if you want the answers on react-js from react-js Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---