- 1

What is the d/nce b/n return and document.write

You can use them in the same condition

21st Jun 2021, 6:06 PM
Predator
Predator - avatar
1 Answer
+ 1
document.write() is a function that is used to write something in the body while the return is used to return something from a function. Two are completely different things. N/t T/e p/se a/k t/e que/on in a appro/ate w/y so th/t eve/ne c/n under/nd. T/k Y/u
21st Jun 2021, 6:37 PM
The future is now thanks to science
The future is now thanks to science - avatar