Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/messageformat/messageformat
/ dropBiDi
Function
dropBiDi
test/formatters.js:8–10 ·
view source on GitHub ↗
(str)
Source
from the content-addressed store, hash-verified
6
7
// MS Edge adds LTR/RTL marks around Date#toLocale*String parts
8
function
dropBiDi(str) {
9
return
str.replace(/[\u200e\u200f]/g,
''
);
10
}
11
12
describe(
'Formatters'
,
function
() {
13
describe(
'date'
,
function
() {
Callers
1
formatters.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected