Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Get odd numbers

Nice to solve before

Instructions

Given a list of integers return a list that contains only odd integers (only integers which are not a multiple of 2).

Challenge | Solution

Examples

getOdd(listOf(1, 2, 3)) // 1, 3

getOdd(listOf(4, 6, 8, 7, 9)) // 7, 9