Results 1 to 2 of 2

Thread: Coding.org

  1. #1
    Join Date
    Feb 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default Coding.org

    console.log(15 > 4);
    console.log("Xiao Hui".length <= 122);
    console.log("Goody Donaldson".length >= 8);
    console.log(8*2 >= 16);
    Oops, try again.
    It looks like the fifth console.log() call didn't return false.
    Why isn't this working?

  2. #2
    Join Date
    May 2012
    Posts
    47
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    fourth*
    8*2=16 everyone knows that but it's not greater then 16 and not less then 16 so,
    it can't turn true or false.
    if you would do
    console.log(8*2-1 >= 16);
    then its 15 and that isn't bigger then 16
    so that would return false

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •