Get the App
SLTechnology News&Howtos  ›  Development  › 

What is the difference between a third-class sign and a double-equal sign in JavaScript

Shulou Source: shulou.com Published: 2022-06-01 05:04:06 10月01日 Update

This article is to share with you about the difference between the third-class sign and the double-equal sign in JavaScript. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

The difference between third-class sign and double-equal sign

/ / A pair of equal signs-convert two operands to the same type, and then compare console.log (0 ='o'); / / true / / third class sign-do not convert to the same type console.log (0 = ='0'); / / what are the characteristics of falseJavaScript 1. Js belongs to an interpretive scripting language; 2. With the support of most browsers, js can run on multiple platforms and has cross-platform characteristics. 3. Js belongs to a weak type scripting language, which does not make strict requirements for the data types used, and can convert types, which is simple and easy to use; 4. Js language has high security, and it can only browse information or interact dynamically through the browser, thus effectively preventing the loss of data; 5, object-based scripting language, js can not only create objects, but also use existing objects.

Thank you for reading! This is the end of the article on "what's the difference between third-class sign and double-equal sign in JavaScript". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Tags: Equal sign type language object script same content data more browser article browse good practical effective secure two information dynamic multiple Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL OPPO Reno Shulou Tech Info MariaDB Huawei