title: Does MongoDB support passing `Infinity` into `.limit()`
body: <p>This is mostly an academic question, but a colleague and I are disagreeing on whether Mongo (through MeteorJS which uses <code>EJSON</code> which does serializes fine) supports passing <code>Infinity</code> as a query limit. I've been passing it in some cases with no apparent issues while he is concerned about using it because Mongo's docs don't clearly call out whether it's supported or not. I even tried using it on the Mongo CLI and it worked as expected (<code>db.collection.find().limit(Infinity).count()</code>). And there doesn't seem to be any information about this specific question anywhere online that either of us could find. I know Mongo isn't technically JS, but it's syntax certainly is, which leads me to assume it uses a JS parsing engine, which leads me to believe <code>Infinity</code> is supported implicitly.</p>