For interview questions of Javascript please visit this - Click
- Inside which HTML element do we put the JavaScript?
-
<javascript>
-
<js>
-
<src>
-
<script>
- Where is the correct place to insert a JavaScript?
-
Both the head section and body section are correct.
-
The head section
-
The body section
-
None of the above
-
Give a difference between
Slice
andSubstring
method of String . -
Give True or False :-
“React always work with the virtual DOM”. -
Give a difference between
freeze()
andseal()
methods of Objects. -
Write a Javascript program to set the paragraph background color virtually.