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
northam / JavaScript-practice.md
Created Aug 1, 2019
Some extra JavaScript practice
View JavaScript-practice.md

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: https://repl.it/languages/nodejs

For a version of these questions with hints, use this gist: https://gist.github.com/SnoopSqueak/26824b4bde4071f967100ae3f9628798

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
northam / Markdown-cheatsheet.md
Last active Aug 1, 2019
Gist Markdown Cheatsheet
View Markdown-cheatsheet.md

Gist Markdown Cheatsheet

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

You can’t perform that action at this time.