Skip to main content
18 events
when toggle format what by license comment
Aug 26, 2023 at 15:36 history edited Toby Speight
edited tags
Nov 2, 2021 at 16:29 comment added Thorbjørn Ravn Andersen When doing tasks like this, it may be helpful to know what the correct result will be. wolframalpha.com/input/…
Nov 2, 2021 at 16:20 answer added vitaly-t timeline score: 0
Nov 2, 2021 at 15:57 comment added vitaly-t Here's the fastest solution for JavaScript. It will solve this for 600851475143 in just 0.00001s.
Apr 26, 2019 at 11:33 comment added Arthur No worries. Knowing that any scope runs until the end is a known aesthetic goal when coding, and people who try to achieve that would probably also do something exactly like that. So I don't think it's that bad, really. And it's not like a single assignment rather than a break would tax the processor much, and a clever compiler might even optimise it away.
Apr 26, 2019 at 11:18 comment added Eagle @Arthur yeah. I'm new to this, and forgot what exactly the word was. It was later pointed out in an answer (now deleted) here, after which I have updated my code. Thanks for pointing out though.
Apr 25, 2019 at 15:57 answer added Amadeus timeline score: 4
Apr 25, 2019 at 14:28 answer added yrlic timeline score: 1
Apr 25, 2019 at 12:16 comment added Arthur "//to break the for loop" Doesn't Javascript have a break?
Apr 25, 2019 at 12:00 history tweeted twitter.com/StackCodeReview/status/1121383471954452481
Apr 25, 2019 at 11:47 history edited Eagle CC BY-SA 4.0
added 78 characters in body
Apr 25, 2019 at 5:27 history became hot network question
Apr 25, 2019 at 4:54 vote accept Eagle
Apr 25, 2019 at 4:48 answer added user62030 timeline score: 1
Apr 25, 2019 at 4:19 answer added 200_success timeline score: 18
Apr 25, 2019 at 4:11 history edited 200_success CC BY-SA 4.0
added 190 characters in body; edited tags
Apr 25, 2019 at 3:40 review First posts
Apr 25, 2019 at 4:09
Apr 25, 2019 at 3:35 history asked Eagle CC BY-SA 4.0