Skip to content
This repository was archived by the owner on Feb 20, 2019. It is now read-only.
This repository was archived by the owner on Feb 20, 2019. It is now read-only.

Add 'isOdd' function #109

@diogorighi

Description

@diogorighi

Hi Kent! Great work with the egghead course. I always wanted to contribute to open source projects but never knew how to start. Thanks for helping ;)

Well, there is an 'isEven' function, but the 'isOdd' is missing! Can I implement that?
Stack Overflow Solution

function isOdd(num) {
  return num % 2 !== 0
}

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions