Skip to content

Instantly share code, notes, and snippets.

Eugene Kardash northam

Block or report user

Report or block northam

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
northam /
Created Aug 1, 2019
Some extra JavaScript practice

Important note

Use Replit or write code in a local JS file to complete these challenges. JS Bin doesn't handle callbacks well (it throws SyntaxError: Unexpected token { even though the code works elsewhere), and Code Pen has a finnicky console:

For a version of these questions with hints, use this gist:

Conditionals and operators

  1. Write a function getIsWordOdd that takes in a string and returns true if the word contains an odd number of characters or false if the word contains an even number of characters.

Sample calls:

northam /
Last active Aug 1, 2019
Gist Markdown Cheatsheet

Gist Markdown Cheatsheet

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

You can’t perform that action at this time.