7 lines
198 B
JavaScript
7 lines
198 B
JavaScript
const modifier = (text) => {
|
|
// This will always result in a shorter string, so no need to truncate it.
|
|
return { text: text.replace(/ not /gi, ' ') }
|
|
}
|
|
|
|
// Don't modify this part
|
|
modifier(text)
|