Code golf: Will someone post <=64 characters of Javascript code that I can use to resolve this market to YES?
5
12
130
resolved Mar 30
Resolved
YES

Sequel to /IsaacKing/code-golf-will-someone-post-68-char

Post Javascript code in the market comments. I will run each piece of code that's 64 characters or less and doesn't use fetch() or another way of bringing in external code in my JS console on this page. (Including from comments.) If this results in this market resolving to YES, so be it. If the market is still unresolved by the close date, it resolves to NO.

If I suspect that your code will do something that I do not want it to do, such as resolve this market to NO or send you all of my mana, I will not run it. (And if that fails, I reserve the right to resolve this market N/A.)

As a change from previous markets, I am now in full cooperation with the golfers in attempting to resolve this market YES. I will provide any relevant information they ask for, such as my browser environment and any error messages or other results of running a certain code snippet. And I will no longer try to foil their plans, such as by resizing the window to change the page layout. (I do however reserve the right to refuse certain requests, such as a request to buy or sell shares in order to change what buttons exist.)

Get Ṁ200 play money

🏅 Top traders

#NameTotal profit
1Ṁ23
2Ṁ7
3Ṁ7
4Ṁ3
Sort by:
predicted YES

Alright, fine.

predicted YES

Bro come on, this has got to be the slowest development cycle. The market even closes in a few hours.

predicted YES

@levifinkelstein Closes in a month I think?

predicted YES

@A I thought it said march 30th 6am or something like that, perhaps I misread the month

predicted YES

i=0;setInterval(b=>b(".font-md")[[4,7,11,14][i++]].click(),9,$$)

predicted YES

@levifinkelstein reload before using

@levifinkelstein do you hold yes shares or no shares?

predicted YES

@ian NO

@ian it seems like you may not have bought enough yes shares due to price differences?

predicted YES

@ian yes

@levifinkelstein huh, weird that your comment status is wrong then. Will check out that bug

predicted YES

@ian Why is it wrong? Isn't it just saying that I bought YES when it was at 80%?

@levifinkelstein your comment headers were saying that you were predicting yes but the positions tab said you held NO shares.

predicted YES

@ian but it's supposed to be like that right? The comment header tells you what my last purchase was.

bought Ṁ5 of NO

Are you going to hold stocks when you run the code?

bought Ṁ50 of YES

@levifinkelstein I have a solution for both cases but you need to say which

bought Ṁ100 of YES

@levifinkelstein Sure, I'll hold some YES shares. :)