Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/marijnh/Eloquent-JavaScript
/ compareJoined
Function
compareJoined
src/run_tests.mjs:169–171 ·
view source on GitHub ↗
(a, b)
Source
from the content-addressed store, hash-verified
167
}
168
169
function
compareJoined(a, b) {
170
return
a.replace(/\n\s*/g,
" "
).trim() == b.replace(/\n\s*/g,
" "
).trim()
171
}
172
173
let
accum =
""
, _console = {
174
clear:
function
() { accum =
""
},
Callers
1
run_tests.mjs
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected