What Will Be The Output Of The Following Javascript Functionp #808
What will be the output of the following JavaScript function?</p> <pre><code class="language-javascript"> <script type="text/javascript"> var name1 = "NVAEducation"; function DisplayName () { var name2 = " The Best"; document.write(name1+name2); } </script> </code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs106 Javascript. It can also be found in gs gs106 JavaScript Parsing, Benchmarking and Logging - JavaScript Benchmarking and Logging with perfLogger - Quiz No.1.
What will be the output of the following JavaScript function?
<script type="text/javascript"> var name1 = "NVAEducation"; function DisplayName () { var name2 = " The Best"; document.write(name1+name2); } </script>
NVAEducationThe Best
NVAEducation The Best
Object required error
Javascript Error
Similar question(s) are as followings:
Online Quizzes of gs106 Javascript
Graphics and Rendering in JavaScript - Scripted Media - Quiz No.1
gs gs106 Javascript
Online Quizzes