Skip to content

Commit 5608f6b

Browse files
Update exemplar.js
1 parent 97a5c22 commit 5608f6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/concept/recycling-robot/.meta/exemplar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export function isBoolean(value) {
2626
export function isNumber(value) {
2727
return (
2828
(typeof value === 'number' || typeof value === 'bigint') &&
29-
!isNaN(Number(value)) &&
29+
!isNaN(value) &&
3030
value !== Infinity
3131
);
3232
}

0 commit comments

Comments
 (0)