1. Which JavaScript function is equivalent to echo or print in PHP? document.print() document.echo() document.write() No
Posted: Sun May 15, 2022 12:39 pm
1. Which JavaScript function is equivalent to echo or print in
PHP?
document.print()
document.echo()
document.write()
None of the above
2. Which of the following is NOT a valid JavaScript
variable?
_string
4Counting
Greeting
$variable
None of the above
3. Is the following JavaScript code valid?
n=’12345’;
n=25;
Yes, it is.
No, it is not.
Cannot determine
PHP?
document.print()
document.echo()
document.write()
None of the above
2. Which of the following is NOT a valid JavaScript
variable?
_string
4Counting
Greeting
$variable
None of the above
3. Is the following JavaScript code valid?
n=’12345’;
n=25;
Yes, it is.
No, it is not.
Cannot determine