Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/asweigart/PythonStdioGames
/ replaceAt
Function
replaceAt
javascript_games/ninetyninebottles2.js:29–31 ·
view source on GitHub ↗
(str, index, replacement)
Source
from the content-addressed store, hash-verified
27
28
29
function
replaceAt(str, index, replacement) {
30
return
str.substr(0, index) + replacement + str.substr(index + replacement.length);
31
}
32
33
34
async
function
main() {
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected