Use parseFloat() to try to convert n to a number. Use !Number.isNaN() to check if num is a number.
| CARVIEW |
Select Language
HTTP/2 301
date: Fri, 23 Jan 2026 23:15:05 GMT
content-type: text/html; charset=UTF-8
location: https://javascriptsource.com/page/23/
x-fw-version: 5.0.0
x-fw-server: Flywheel/5.1.0
x-xss-protection: 1
x-redirect-by: WordPress
x-content-type-options: nosniff
x-fw-dynamic: TRUE
x-fw-hash: x4u4abmr3y
referrer-policy: no-referrer-when-downgrade
server: cloudflare
accept-ranges: bytes
x-served-by: cache-bom-vanm7210067-BOM, cache-bom-vanm7210076-BOM
x-cache: MISS, MISS
x-cache-hits: 0, 0
x-timer: S1769210105.071905,VS0,VE929
x-fw-serve: TRUE
x-fw-static: NO
x-fw-type: VISIT
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=FvEj62E9Az0BnJm5giJmQoMliwyVE16UP1hQ0rOJ8hmgW2FBaiR1Dr%2BM5Yc1F8y4S6Pxnz42BpJ9BR9LdbOCFrw%2FY5hXTTZ9362uSunmpIbdi8eS"}]}
cf-ray: 9c2afdb4799f3e1b-BOM
alt-svc: h3=":443"; ma=86400
HTTP/2 200
date: Fri, 23 Jan 2026 23:15:06 GMT
content-type: text/html; charset=UTF-8
x-fw-version: 5.0.0
x-xss-protection: 1
x-fw-server: Flywheel/5.1.0
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=qh0OifdvfAC297IyUv6P6%2B15RojXm7Qd4PzOQyJ7AvYe99cqqaFrQT%2BUG9W8H2irUsAp%2BNB3QXyyMpNmlo3rLf8dYTtcbAsmwKji0xpwSrMGy82A"}]}
link: ; rel="https://api.w.org/"
x-content-type-options: nosniff
x-fw-hash: x4u4abmr3y
x-fw-dynamic: TRUE
referrer-policy: no-referrer-when-downgrade
server: cloudflare
x-cacheable: YES
fastly-restarts: 1
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
x-served-by: cache-bom-vanm7210051-BOM, cache-bom-vanm7210076-BOM
x-cache: MISS, MISS
x-cache-hits: 0, 0
x-timer: S1769210106.026947,VS0,VE933
vary: Accept-Encoding
x-fw-serve: TRUE
x-fw-static: NO
x-fw-type: VISIT
cf-cache-status: DYNAMIC
content-encoding: gzip
cf-ray: 9c2afdba7b043e1b-BOM
alt-svc: h3=":443"; ma=86400
JavaScriptSource - Page 23 of 36 - Search 5,000+ Free JavaScript Snippets
Trigger an event
Get all direct descendant elements that match a test
Check if all elements in an array are equal
Detect If an Element has focus
Upload files with ajax
Sanitize an HTML string to reduce the risk of XSS attacks
Open or close an element in fullscreen mode
Check If the Document is Ready
Wrap an element around a given element
- « Go to Previous Page
- Go to page 1
- Interim pages omitted …
- Go to page 21
- Go to page 22
- Go to page 23
- Go to page 24
- Go to page 25
- Interim pages omitted …
- Go to page 36
- Go to Next Page »










