Sign in
chromium
/
external
/
github.com
/
SeleniumHQ
/
selenium
/
refs/heads/api-docs-4.30.0-all
/
.
/
node_modules
/
rambda
/
src
/
replace.js
blob: 64cfb45f329c49fd4d0c91622181b3cb7f10c372 [
file
] [
log
] [
blame
] [
edit
]
import
{
curry
}
from
'./curry.js'
function
replaceFn
(
pattern
,
replacer
,
str
){
return
str
.
replace
(
pattern
,
replacer
)
}
export
const
replace
=
curry
(
replaceFn
)