ch
Feedback
electrifyingcodes

electrifyingcodes

前往频道在 Telegram

👾 • We share free Source Codes, Notes, Resources & much more. Chat Group: https://t.me/+vqcQGgHRgRdjZWFl

显示更多
未指定国家技术与应用27 226
2 009
订阅者
无数据24 小时
-47
-3130
帖子存档
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.

Guess the output for above JS Code...
Anonymous voting

varx=5,y=1 var obj ={ x:10} with(obj) { alert(y) }

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.

photo content

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.

Explanation 👇🏼👇🏼👇🏼👇🏼👇🏼

photo content

cybersecurity-career-roadmap.pdf0.75 KB

CheckOut this amazing Roadmap to become a Cybersecurity Engineer 👇🏼👇🏼👇🏼👇🏼👇🏼👇🏼👇🏼👇🏼👇🏼

Checkout New Reel 👇🏼👇🏼👇🏼👇🏼👇🏼👇🏼👇🏼👇🏼 https://www.instagram.com/reel/CWYIT1aAAhH/?utm_medium=copy_link

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.

Solution of this 👇🏼👇🏼👇🏼👇🏼👇🏼👇🏼
Solution of this 👇🏼👇🏼👇🏼👇🏼👇🏼👇🏼

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.

Solution 👇🏼👇🏼👇🏼👇🏼👇🏼
Solution 👇🏼👇🏼👇🏼👇🏼👇🏼

FacebookReactBar.txt0.25 KB

Download Source Code for this project📝👨‍💻. 👇🏼👇🏼👇🏼👇🏼👇🏼👇🏼👇🏼

New Reel is Live🎥 Go check it out. 👇🏼👇🏼👇🏼👇🏼👇🏼👇🏼👇🏼 https://www.instagram.com/reel/CWTBA9Ngsp5/?utm_medium=copy_link