Skip to main content

Questions tagged [javascript]

JavaScript is a versatile, high-level programming language. It is the programming language in all browsers, and can be used for back-end programming with Node.js. Use this tag for questions regarding vanilla JavaScript; optionally tagged with an ECMAScript version. If you are using a preprocessor such as TypeScript please tag with that too.

3 votes
1 answer
170 views

Can you code review my Google Earth Engine script? The goal is annual Landsat 5/7/8/9 composites (1990–2024) for the Angren ROI, NDVI/SAVI/LST + ERA5-Land. I doubt the correctness of the QA_PIXEL ...
Geo Study's user avatar
9 votes
2 answers
659 views

The objective is to program the algorithm that, when given a connect-four board, it will tell you if there's a winner, a tie, or if the game is still on-going. The public-facing API can be designed ...
Scotty Jamison's user avatar
5 votes
1 answer
167 views

Why I made it I wanted to experiment with javascript: bookmarklets and see how far a small injected script could go on any site by making a simple injectable game. ...
Chip01's user avatar
  • 900
1 vote
0 answers
268 views

Some browsers were not showing text on my webpage in bold so I put some text that was between <span> tags between ...
Baangla Deshi's user avatar
5 votes
1 answer
150 views

I wanted to create a protected member in a javascript (ES) class but, of course, there is no such concept. So I devised a way that would let me create a member or something that "no one could ...
Abet Giron's user avatar
0 votes
0 answers
65 views

Explainer Problem No standardized Web Extension API to send or transfer TypedArrays or ArrayBuffers or ...
guest271314's user avatar
0 votes
0 answers
55 views

References WebSocketStream Explained WebSocketStream API design Source code https://github.com/guest271314/websocket-stream-impl Implementation ...
guest271314's user avatar
1 vote
1 answer
165 views

I created this module to help with the creation of HTML elements: ...
Justin Massey's user avatar
3 votes
0 answers
101 views

I put together this Native Messaging performance test to determine based on evidence which programming language, JavaScript engine or runtime, and WebAssembly compiled code is fastest to round trip 1 ...
guest271314's user avatar
0 votes
0 answers
55 views

Native Messaging host using Mozilla SpiderMonkey JavaScript/WebAssembly engine. Documentations Chrome Developers MDN Web Docs Microsoft Edge Developer documentation Messaging between the app and ...
guest271314's user avatar
6 votes
5 answers
1k views

The goal of the following openprocessing.org JavaScript program is to calculate the sum and difference of a pair of numbers and print the 2 results if they are both positive. I want to do the ...
Will.Octagon.Gibson's user avatar
7 votes
1 answer
100 views

I am new to front end development and thought to recreate the GUI of Fruity Balance just for practice. I would love to hear any advice on best practices. I am also wondering if any improvements could ...
Evr's user avatar
  • 71
0 votes
0 answers
118 views

A branch of a repository I maintain has a function that can do different things based on the input and expected result, and structure of a particular inner function call. I can echo 20 MB to and from ...
guest271314's user avatar
-1 votes
2 answers
153 views

I'm looking for suggestions on how this code structure can be improved. It feels like there's a smarter way. The purpose of the script is to create live stream players if the following conditions are ...
fslap's user avatar
  • 17
3 votes
1 answer
162 views

I wrote this code below to get all possible words for an array containing \$n\$ letters. The logic of the code is that the letters of the array are mixed up in random positions and checks if this ...
John's user avatar
  • 69

15 30 50 per page
1
2 3 4 5
629