Ad
  • Default User Avatar

    the cursor is not coming down even though you press enter

  • Custom User Avatar
  • Custom User Avatar

    As Chrono79 wrote, don't add anything or alter the given table. In SELECT statement, you can define a new column in you output and wrote a constant or formula to populate that column. Use this.

  • Default User Avatar

    Hello everyone, who finds it difficult to solve the problem, don’t worry, don’t rush, we are all learning here and what seems difficult at first will become simple over time. Just find out how to determine whether a number is even or not. And then simply based on this number, return the string ("Even" or "Odd")

  • Custom User Avatar

    Your code is very close to being correct!

    The name of the column alias should be given without 'single quotes', it should be AS is_even.

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    well i didn't really read that, so much as just started playing around with the challenges :')
    but i got there in the end, just thought i'd leave a comment in case someone did the same thing as me xD

  • Custom User Avatar

    It's somewhat implied by the "Create a function that [...] returns ...".

    Also it's kind of documented.

  • Custom User Avatar

    would have been easier if i knew i wasn't allowed to use print and expected to use return instead xD

  • Default User Avatar

    that breaks however if you submit 2, instead of 2.0

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    @hobovsky
    no u

  • Default User Avatar

    Your solution is already present in the solutions tab for all to see and discuss. Sharing it under discourse - unformatted, no less - is redundant. Even if you mark it as spoiler, it will still spoil it for those who solved the Kata in other languages but not JavaScript yet.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
  • Loading more items...