JS Knowledge Point Supplement

Source: Internet
Author: User

1 <!DOCTYPE HTML>2 <HTML>3     <Head>4         <MetaCharSet= "UTF-8">5         <title></title>6     </Head>7     <Body>8     </Body>9 Ten <Scripttype= "Text/javascript"> One     //NaN A     //Question 1: How to tell if an object is not a number -     //IsNaN () if the parentheses are filled with a number that returns false -     //Console.log (IsNaN ("abc")); the     //Note: NaN is also a data type on some data - Console.log (typeofNaN);// Number - Console.log (IsNaN (true)); //false - Console.log (IsNaN ("123")); //false +  -     //null and undefined +     //var result = (Null = = undefined); A     //Console.log (result); at     //undefined in the first place as a mistake to deal with. -     //NULL indicates that a value is null -     //when using, if a variable needs to clear the value, let the variable =null -  -     //How anonymous functions are called -     (function(i) { in Console.log ("hehe"); - Console.log (i); to     })(6); +      -     (function(){ the Console.log ("Heihei"); *     })(); $ </Script>Panax Notoginseng  - </HTML>

JS Knowledge Point Supplement

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.