Choose a topic to test your knowledge and improve your JavaScript skills
An expression that can legally appear on the left side of an assignment expression.” is a well known explanation for variables, properties of objects, and elements of arrays. They are called ___________
What will be the equivalent output of the following JavaScript code snippet? x = ~-y; w = x = y = z; q = a?b:c?d:e?f:g;
What will be the output of the following JavaScript code? function output(option) { return (option ? “yes” : “no”); } bool ans=true; console.log(output(ans));
What will be the output of the following JavaScript code? function height() { var height = 123.56; var type = (height>=190) ? "tall" : "short"; return type; }
What will be the output of the following JavaScript code? string a = ”hi”; string b =”there”; alert(a+b);
What will be the output of the following JavaScript code? function output(object) { var place=object ? object.place : “Italy”; return “clean:”+ place; } console.log(output({place:India}));
What will be the output of the following JavaScript code? <p id="demo"></p> <script> function myFunction() { document.getElementById("demo").innerHTML = Math.abs(-7.25); } </script>
What will be the output of the following JavaScript code? <p id="demo"></p> <script> function myFunction() { document.getElementById("demo").innerHTML = Math.cbrt(125); } </script>
What will be the output of the following JavaScript code? <p id="demo"></p> <script> function myFunction() { document.getElementById("demo").innerHTML = Math.acos(0.5); } </script>