shlok.mobi
General Knowledge Questions and Answers - 1423
javascript
Questions and Answers
Prepare for Interview
Question:
Can javascript code be broken in different lines?
Answer:
"Breaking is possible within a string statement by using a backslash \ at the end but not within any other javascript statement. that is , document.write(""Hello \ world""); is possible but not document.write \ (""hello world"");"


More Questions :
  • How do you convert numbers between different bases in JavaScript?
  • What are the boolean operators supported by JavaScript?
  • unescape(), escape()
  • How is JavaScript different from Java?
  • How can JavaScript be used to improve the "look and feel" of a Web site? By the same token, how can JavaScript be used to improve the user interface?
  • What is the difference between a web-garden and a web-farm?
  • What does javascript null mean?
  • How to make a array as a stack using JavaScript?
  • decodeURI(), encodeURI()
  • What does isNaN function do?
  • What does 3+4+"7" evaluate to?
  • What looping structures are there in JavaScript?
  • What would be the output of the following statements?
    var object1 = { same: 'same' };
    var object2 = { same: 'same' };
    console.log(object1 === object2);
  • What is this? var myArray = [[[]]];
  • How do you submit a form using Javascript?
  • How to detect the operating system on the client machine?
  • How to create arrays in JavaScript?
  • What does "1"+2+4 evaluate to?
  • How to determine the state of a checkbox using Javascript?
  • What is the difference between an alert box and a confirmation box?
  • Test your English Language
  • Comics of the Day
  • Prosperous Countries In The World
  • Class 8 - Materials Metals and Non Metals
  • Chhath Puja Celebration
  • Brics
  • Benefits of Herbs
  • GK Indian Geography
  • Incredible People With Real Superpowers
  • Different ways to Drap Saree
  • Most Amazing Botanical Gardens
  • Ways Lefties Are Better Than Righties
  • Baskteball Shoes Of All Time
  • Chinese Embroidery
  • Future Value for Present Amount
  • Electricity
  • Class 9 - Linear Equations In Two Variables
  • Tips to success in Driving Test
  • Children's Day Celebration
  • Tips to get ready for Group Discussion
  • Latest Hair Colours
  • Enjoy New Year
  • loading...

    Did you Know :

    Phobia :
    ankylophobia : fear of immobility of a joint.
    More ...

    Shlok Consultants