mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2026-03-13 15:21:15 +08:00
Remove live code & console.log, leave examples as comments (Geometry, Graphs, Maths).
This commit is contained in:
@@ -4,10 +4,6 @@
|
||||
* else false
|
||||
*/
|
||||
|
||||
const isOdd = (value) => {
|
||||
export const isOdd = (value) => {
|
||||
return !!((value & 1))
|
||||
}
|
||||
|
||||
// testing
|
||||
console.log(isOdd(2))
|
||||
console.log(isOdd(3))
|
||||
|
||||
Reference in New Issue
Block a user