DEV Community

Cover image for How to make Infinity!
Mafee7
Mafee7

Posted on • Edited on

2 1

How to make Infinity!

Liquid syntax error: Unknown tag 'endraw'

SurveyJS custom survey software

Simplify data collection in your JS app with a fully integrated form management platform. Includes support for custom question types, skip logic, integrated CCS editor, PDF export, real-time analytics & more. Integrates with any backend system, giving you full control over your data and no user limits.

Learn more

Top comments (5)

Collapse
 
_bkeren profile image
''

parseInt(${"9".repeat(304)}) returns a number , parseInt(${"9".repeat(305)}) returns Infinity

Collapse
 
mafee6 profile image
Mafee7

Cuz that's where the number exits the limit
Hence infinity

Collapse
 
_bkeren profile image
''

but that's interesting, because 304 is not power of 2.

Collapse
 
mafee6 profile image
Mafee7

btw there is a hard limit on the number you can use in repeat also!

Collapse
 
mafee6 profile image
Mafee7

😳

SurveyJS custom survey software

JavaScript UI Libraries for Surveys and Forms

SurveyJS lets you build a JSON-based form management system that integrates with any backend, giving you full control over your data and no user limits. Includes support for custom question types, skip logic, integrated CCS editor, PDF export, real-time analytics & more.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay