What Will Be The Output Of The Following Javascript Codep Pre #176
What will be the output of the following JavaScript code?</p> <pre><code class="language-javascript"> emp={id:102,name:"Shyam Kumar",salary:40000} document.write(emp.id+" "+emp.name+" "+emp.salary); </code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs106 Javascript. It can also be found in gs gs106 Classes and Modules - Augmentation of JavaScript Classes - Quiz No.2.
What will be the output of the following JavaScript code?
emp={id:102,name:"Shyam Kumar",salary:40000} document.write(emp.id+" "+emp.name+" "+emp.salary);
102 4000 Shyam Kumar
102 4000
102 Shyam Kumar 40000
102 shyam kumar 40000
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