Page 39 - JavaScript
P. 39

Remarks                                                                                            524
          Examples                                                                                           524


            High-resolution timestamps                                                                       524
            Low-resolution timestamps                                                                        524

            Support for legacy browsers                                                                      524

            Get Timestamp in Seconds                                                                         525

        Chapter 95: Transpiling                                                                             526

          Introduction                                                                                       526

          Remarks                                                                                            526

          Examples                                                                                           526


            Introduction to Transpiling                                                                      526
        Examples                                                                                            526


          Start using ES6/7 with Babel                                                                       527

          Quick setup of a project with Babel for ES6/7 support                                              527

        Chapter 96: Unary Operators                                                                         529

          Syntax                                                                                             529

          Examples                                                                                           529

            The unary plus operator (+)                                                                      529

        Syntax:                                                                                             529

        Returns:                                                                                            529

        Description                                                                                         529


        Examples:                                                                                           529

          The delete operator                                                                                530

        Syntax:                                                                                             530

        Returns:                                                                                            530


        Description                                                                                         530

        Examples:                                                                                           531

          The typeof operator                                                                                531

        Syntax:                                                                                             531

        Returns:                                                                                            531


        Examples:                                                                                           532
   34   35   36   37   38   39   40   41   42   43   44