Tag: javascript

151 Tips for golfing in JavaScript 2011-05-27T01:10:42.683

134 Making Future Posts Runnable Online with Stack Snippets 2014-10-21T02:41:05.133

134 Red vs. Blue - Pixel Team Battlebots 2015-04-02T04:04:40.763

104 Formic Functions - Ant Queen of the Hill Contest 2017-07-22T21:21:17.400

94 Tips for Golfing in ECMAScript 6 and above 2014-09-11T11:14:58.247

64 King of the Hill - Spacewar! 2015-12-23T23:53:13.063

61 Art Attack KoTH 2018-08-20T08:40:26.133

48 JSF**k with only 5 symbols? 2016-03-12T12:36:56.437

45 Gold Battle KoTH 2019-08-01T15:40:21.240

44 What can you do in a 4k data URI? 2011-03-18T19:18:51.070

42 Block Building Bot Flocks! 2015-05-24T04:08:00.433

41 Reserved JavaScript 2018-04-03T23:05:36.413

33 Write a bot to play Grid Game 2019-10-21T12:07:50.043

29 Make StackOverflow Explode (bookmarklet) 2013-08-20T11:52:05.510

29 WTF.js Obfuscator 2020-01-24T18:35:17.007

28 Generating the alphabet in JavaScript 2016-02-09T21:08:14.367

27 Team of The Hill! 2017-04-24T17:25:28.500

24 KOTH: Everybody loves tokens 2016-04-06T14:27:58.167

24 Get string "-" with JavaScript using only the symbols from "+[]" 2020-07-03T12:02:27.170

23 Prisoner's Dilemma with access to opponent 2018-09-30T02:13:47.340

22 Fastest gun of the west, king of the hill challenge 2015-06-14T12:35:49.237

22 Is it possible to make a clamp function shorter than a ternary in JS? 2019-03-05T23:03:04.353

21 JSFuck Golf - Hello World 2014-01-08T07:33:42.753

19 2048 Bot Challenge 2014-04-02T15:53:33.483

19 Fibonacci in +!()[]script 2015-08-23T21:44:42.517

18 Javascript: Create a 10x10 array of 1s 2013-01-24T22:27:43.430

17 Program a 2048 AI using an existing Framework 2014-09-24T23:39:12.653

17 Game of Game of Life 2020-02-17T17:31:41.550

16 KoTH: Political Simulator 2020-10-27T18:32:38.083

15 Shortest URL regex match in JavaScript 2011-02-04T04:15:17.477

15 Is there a way of shortening fat-arrow functions? 2016-08-08T01:57:13.587

15 KoTH: Highest HP is Eliminated! 2020-03-18T23:15:37.340

14 JavaScript load and SHA-256 2014-01-10T20:53:07.617

14 Simple Race KoTH 2020-08-24T22:17:15.680

13 How to solve the total task on "return true to win" in 21 chars 2018-01-17T19:59:22.170

13 Bot Factory KoTH (2.0) 2021-01-24T19:24:23.960

12 Capture The Flag 2015-04-20T02:22:05.533

11 "Could you repeat yourself?" aka Could a doubled character solution exist in JavaScript? 2016-09-29T03:47:47.390

10 Creating a function over multiple lines 2018-03-02T23:30:20.057

10 KoTH: Wizard Battle 2020-03-27T17:27:06.630

9 Shortest way to generate 12 repeated characters in JavaScript 2017-05-28T11:26:39.103

8 Write the shortest text getter/setter on an element for the DOM 2013-04-08T16:59:46.940

8 Refactor variable names in JavaScript code 2014-02-05T03:38:57.113

8 Forcing the Horse 2014-09-08T19:45:49.567

8 ¿Yo Quiero jQuery? 2014-10-03T09:08:22.357

7 Display a bézier curve in the browser 2013-04-19T09:45:21.060

7 Hack g-code.js parser 2018-10-29T05:28:53.123

7 Bot Factory KoTH 2020-03-14T21:08:37.800

7 How to golf wrap-around assignments? 2020-11-12T06:23:17.960

7 Does this JavaScript function support keyword arguments? 2021-01-11T17:33:21.767

6 Print all odd numbers from 0 to 100000 2014-12-25T12:08:00.353

6 Javascript tips: 2 to the power of x multiplied by n 2016-08-21T14:09:35.817

6 C&R: Chase the Easter Bunny™️️, be the Easter Bunny™ 2020-04-11T12:49:30.773

5 Shortest code to check if a number is in a range in JavaScript 2012-10-09T22:45:14.167

5 2D javascript table graphics 2014-02-16T14:43:47.647

5 Check If Two or More Variables Are All Equal to Zero in JavaScript 2014-06-06T12:58:41.850

5 Javascript: Mini Space Invaders 2014-10-16T23:42:55.190

5 How to simplify ternary expressions in Javascript 2017-05-18T03:55:09.333

5 Who can get more points? (Card game KoTH) 2018-09-06T19:35:14.513

5 How can I golf this JavaScript code, if at all? 2019-11-02T09:13:16.307

4 Smallest Javascript CSS Selector Engine 2011-04-24T06:18:38.753

4 Convert JSON string to Key / Value Arrays 2013-03-15T11:02:51.763

4 multiplication table in javascript 2014-09-30T18:42:25.830

4 λ-calculus to js arrow notation transpiler 2017-03-15T22:50:54.710

4 Compare char to other chars in javascript 2017-07-20T21:07:03.393

4 Chase the Easter Bunny and collect his eggs 2020-04-09T15:21:54.400

3 Increment Bitwise 2014-06-22T07:23:00.330

3 Include a JavaScript script with JavaScript 2016-05-24T20:54:36.300

3 Golfing Newton's Method 2017-10-05T20:54:30.527

3 Gold Hunter KoTH 2018-10-12T16:06:24.653

3 Tips for golfing javascript code, especially converting while loop to expression 2019-12-09T23:11:26.970

2 Implement String.prototype.toLowerCase() 2013-02-14T20:52:32.250

2 JavaScript: Tricks to shorten onkeydown, setInterval etc 2014-10-21T14:19:10.697

2 Recursive search golf (JS only) 2019-02-09T19:30:47.277

2 Self-Contained Generator Function (JavaScript) 2019-08-08T20:21:32.573

2 Summing intertwined terms of an array 2020-03-07T11:41:06.477

2 Redirect HTTP links to HTTPS with Javascript 2020-08-08T15:19:45.000

1 Make an HTML page goto infinite loop? 2012-10-03T08:27:46.663

1 Babylon.js - loop through a scene and apply a simple fragment shader to all of the objects 2014-07-09T08:00:29.993

1 Move the "post your answer" form next to the question on SE sites 2014-10-03T13:22:27.503

1 Improving a Rubik's Cube scrambler's byte count 2015-05-29T22:31:27.467

1 Javascript function challenge add(1,2) and add(1)(2) both should return 3 2015-07-09T00:54:40.233

1 JSON tips: filter objects from array of objects where object name is alpha 2016-07-18T06:40:33.777

1 Map an array of functions to their return values in point-free style 2018-08-03T02:35:26.163

1 (Javascript) itertools.groupBy, e.g. [0,0,1,1,0] -> [[0,0],[1,1],[0]] 2018-10-13T16:16:48.097

1 Crazy Blazin' DOM Injection 2020-07-20T11:26:06.993

0 javascript: smallest code to convert seconds to time 2013-09-12T17:18:08.367

0 Needs more jQuery! 2016-05-14T04:09:04.727

-2 IPv4 "in subnet" function 2013-03-18T20:13:31.310

-2 Linking without a Link 2014-08-24T20:52:52.280

-9 Shortest possible JS (ES5) code to get ids of all elements of a given tag 2016-10-20T17:59:13.860