electrifyingcodes
Відкрити в Telegram
👾 • We share free Source Codes, Notes, Resources & much more. Chat Group: https://t.me/+vqcQGgHRgRdjZWFl
Показати більшеКраїна не вказанаТехнології та додатки27 226
2 009
Підписники
Немає даних24 години
-47 днів
-3130 день
Архів дописів
2 009
Answer: A
Explanation: The output of the above snippet code will be one because, first of all, the interpreter will search "obj" for the property (y). But it fails to find "obj" for property "y," so it chooses a value from outside the object, which is available within the given code.
2 009
Answer: B
Explanation: JavaScript is not a pure OOP's (object-oriented programming) based language such as PHP, Java, or many other languages, although it is an object-based language. It is not OOP's based language, because it doesn't have three basic properties of object-oriented programming languages, such as polymorphism, encapsulation, and inheritance.
2 009
Answer: A
Explanation: The "==" is only true if the type and the content of both operands are the same. The "==" is also one of the common abstracts used for comparing two operands to check whether they are equal or not but it will not check the data type of the variables. So, the "! ==" operator is known as "non-equal", which is used in our case, to compare 0 to NULL. It obtains the output either as true or false that totally depends on the given conditions.
2 009
CheckOut this amazing Roadmap to become a Cybersecurity Engineer
👇🏼👇🏼👇🏼👇🏼👇🏼👇🏼👇🏼👇🏼👇🏼
2 009
Checkout New Reel
👇🏼👇🏼👇🏼👇🏼👇🏼👇🏼👇🏼👇🏼
https://www.instagram.com/reel/CWYIT1aAAhH/?utm_medium=copy_link
2 009
Answer: Output is 8
Explanation: The "if-else" is one of the conditional statements available in JavaScript like several other languages. Here the comparison performed in the "if" statement evaluates to false, so the instructions written in the else part gets executed. If the comparison performed in the "if" statement evaluates to true, then the instruction written in the if statement will be executed.
2 009
C - Declaration statements
The "function" and "var" both are the Declaration statements. These both are used for defining and declaring variables, functions anywhere in the program.
2 009
New Reel is Live🎥
Go check it out.
👇🏼👇🏼👇🏼👇🏼👇🏼👇🏼👇🏼
https://www.instagram.com/reel/CWTBA9Ngsp5/?utm_medium=copy_link
