Page 40 - JavaScript
P. 40

The void operator                                                                                  533

        Syntax:                                                                                             533

        Returns:                                                                                            533

        Description                                                                                         533

        Examples:                                                                                           533


          The unary negation operator (-)                                                                    534

        Syntax:                                                                                             534

        Returns:                                                                                            534

        Description                                                                                         534

        Examples:                                                                                           534


          The bitwise NOT operator (~)                                                                       535

        Syntax:                                                                                             535

        Returns:                                                                                            535

        Description                                                                                         535

        Examples:                                                                                           535


          The logical NOT operator (!)                                                                       536

        Syntax:                                                                                             536

        Returns:                                                                                            536

        Description                                                                                         536

        Examples:                                                                                           537


          Overview                                                                                           537

        Chapter 97: Unit Testing Javascript                                                                 539

          Examples                                                                                           539

            Basic Assertion                                                                                  539

            Unit Testing Promises with Mocha, Sinon, Chai and Proxyquire                                     540

        Chapter 98: Using javascript to get/set CSS custom variables                                        544

          Examples                                                                                           544

            How to get and set CSS variable property values.                                                 544

        Chapter 99: Variable coercion/conversion                                                            545

          Remarks                                                                                            545
   35   36   37   38   39   40   41   42   43   44   45