Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChromeDevTools/devtools-frontend
/ withoutQuestion
Function
withoutQuestion
scripts/javascript_natives/helpers.js:164–164 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
162
function
startsTheSame(smaller, bigger) {
163
for
(
let
i = 0; i < smaller.length; i++) {
164
const
withoutQuestion = str => /[\?]?(.*)/.exec(str)[1];
165
if
(withoutQuestion(smaller[i]) !== withoutQuestion(bigger[i])) {
166
return
false;
167
}
Callers
1
startsTheSame
Function · 0.85
Calls
1
exec
Method · 0.80
Tested by
no test coverage detected