Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. It's hard to believe...

It's hard to believe...

Scheduled Pinned Locked Moved The Lounge
javascriptcomlearning
7 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Clickok
    wrote on last edited by
    #1

    ...that everyday I need work with that kind of difference:

    // This returns undefined
    return
    {
    status: true
    };

    // This returns { status: true }
    return {
    status: true
    };

    Read more here: Review: The best JavaScript book I’ve read[^]


    For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.(John 3:16) :badger:

    P S F 3 Replies Last reply
    0
    • C Clickok

      ...that everyday I need work with that kind of difference:

      // This returns undefined
      return
      {
      status: true
      };

      // This returns { status: true }
      return {
      status: true
      };

      Read more here: Review: The best JavaScript book I’ve read[^]


      For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.(John 3:16) :badger:

      P Offline
      P Offline
      peterchen
      wrote on last edited by
      #2

      What language?

      Burning Chrome ^ | Linkify!| FoldWithUs! | sighist

      C S 2 Replies Last reply
      0
      • P peterchen

        What language?

        Burning Chrome ^ | Linkify!| FoldWithUs! | sighist

        C Offline
        C Offline
        Clickok
        wrote on last edited by
        #3

        peterchen wrote:

        What language?

        Javascript


        For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.(John 3:16) :badger:

        1 Reply Last reply
        0
        • P peterchen

          What language?

          Burning Chrome ^ | Linkify!| FoldWithUs! | sighist

          S Offline
          S Offline
          Simon Capewell
          wrote on last edited by
          #4

          I'd be willing to bet it's Javascript given the link to the book.

          P 1 Reply Last reply
          0
          • C Clickok

            ...that everyday I need work with that kind of difference:

            // This returns undefined
            return
            {
            status: true
            };

            // This returns { status: true }
            return {
            status: true
            };

            Read more here: Review: The best JavaScript book I’ve read[^]


            For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.(John 3:16) :badger:

            S Offline
            S Offline
            Simon Capewell
            wrote on last edited by
            #5

            Oh yes, don't you just love Javascript's agnostic approach to semicolons.

            1 Reply Last reply
            0
            • S Simon Capewell

              I'd be willing to bet it's Javascript given the link to the book.

              P Offline
              P Offline
              peterchen
              wrote on last edited by
              #6

              Just to make sure to avoid it :)

              Burning Chrome ^ | Linkify!| FoldWithUs! | sighist

              1 Reply Last reply
              0
              • C Clickok

                ...that everyday I need work with that kind of difference:

                // This returns undefined
                return
                {
                status: true
                };

                // This returns { status: true }
                return {
                status: true
                };

                Read more here: Review: The best JavaScript book I’ve read[^]


                For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.(John 3:16) :badger:

                F Offline
                F Offline
                fred_
                wrote on last edited by
                #7

                Interestedly, closing the page on the article, ( like most web devs have script debugging turned on) I got a Javascript error that hung the browser

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups