Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 8372

A popularity-contest is a competition where the answer with the highest vote tally (upvotes minus downvotes) wins. As these are frequently closed, read the tag info and post your challenge to the sandbox first.

1
vote
Javascript function IfIWont () { return +delete myBrowserHistory }
answered Aug 8 '13 by C5H8NNaO4
12
votes
Javascript function getLine(n) { try { to } catch (dat) { var stack = dat.stack.split('\n'); for (var i = 0; i < stack.length; i++) { if (~stack[i].indexOf ('getLi …
answered Jun 3 '14 by C5H8NNaO4
2
votes
JavaScript var bSum = function (result, current, index, source) { return result + (current << ( soucre.length - index - 1)) } [1,0,1,0,1,0].reduce (bSum,0) //42 This obviously fails with a Ref …
answered Mar 13 '14 by C5H8NNaO4
14
votes
JavaScript (and a lot more), 5byte 44/44 or 44/44 -> 1 44/4 -> 11 4444 -> 4444 4/44 -> 0.09090909090909091
answered Jun 24 '15 by C5H8NNaO4
5
votes
JavaScript Ok, so i made a shorter version that works as SSCCE, but does no longer try to parse JavaScript properly, so the reference counting might not work when put inside a more complex script. …
answered Jun 6 '14 by C5H8NNaO4
2
votes
JavaScript The function whereami responds with the position of the calling line, relative to its own position in the source code. console.log (whereami ()) //3 line(s) before me function wheream …
answered Jun 13 '14 by C5H8NNaO4
2
votes
Javascript function f(a) { var b=(a%6)-3; return ((1 - ~~(((a%6)+1)/(1<<2))) * (Math.pow (2,((a%6)+2)) - (~~(((a%6)+1)/3)))) + (~~(((a%6)+1)/(1<<2))*((2<<3)+(2<<2)*b*b-Math.pow(6,b*(b-1)/2)*Math. …
answered Mar 16 '14 by C5H8NNaO4