Hey don't worry if that makes you uncomfortable just sprinkle in the + operator and it magically starts working
pic.twitter.com/bg4g0aJIUN
আপনি আপনার টুইটগুলিতে ওয়েব থেকে এবং তৃতীয়-পক্ষ অ্যাপ্লিকেশনগুলির মাধ্যমে অবস্থান তথ্য যেমন শহর বা সুনির্দিষ্ট অবস্থান যোগ করতে পারবেন। আপনার কাছে আপনার টুইটের অবস্থান ইতিহাস মোছার বিকল্প থাকবে। আরও জানুন
Hey don't worry if that makes you uncomfortable just sprinkle in the + operator and it magically starts working
pic.twitter.com/bg4g0aJIUN
what? why? what does the + does?
.@CesarPalafox + will coerce it to a Number by calling `valueOf()` which'll call `Date.prototype.getTime()` which is in milliseconds
but it's possible for that to occasionally be false as the millisecond changes between the first and second Dates?
yep but so far in 500,000 trials on my machine I have yet to hit the boundary in a single instruction
it's possible v8 optimizes to only call systime once per instruction
"A lie gets halfway around the world https://twitter.com/searls/status/734852440932122624 … before the truth has a chance https://twitter.com/searls/status/735177216594698240 … to get its pants on" -WC
Are you talking about JavaScript in general or Node.js in particular?
did i mention that i wrote my own javascript test runner too
and that my self-esteem is not great
I'm one of the @momentjs maintainers. People complain to us about how lodash equals doesn't work on a moment. It's this. Can't fix.
hah, well, thanks for doing the dirty job of beating the date stdlib into something resembling submission
I’m going to claim that the results of those expressions are not deterministic and are actually based on cpu-thread-pre-emption.
i have run them all lots of times
I’d totally buy that, here I don’t mean that nondeterminism implies inconsistency, possibly across machines or impls?
did you try to left pad the new date?
we need Date to be better. Momentjs is great but we need something better at the native JS level
objects are never your friend in javascript
টুইটার তার ক্ষমতার বাইরে চলে গেছে বা কোনো সাময়িক সমস্যার সম্মুখীন হয়েছে আবার চেষ্টা করুন বা আরও তথ্যের জন্য টুইটারের স্থিতি দেখুন।