Sign in
webkit
/
WebKit
/
34573b4327f502983405341f6edd2f8dcbc2cb0c
/
.
/
JSTests
/
es6
/
String.prototype_methods_String.prototype.normalize.js
blob: 09d65016e8af421f49258c34aedcd8f513512a73 [
file
] [
log
] [
blame
]
function
test
()
{
return
typeof
String
.
prototype
.
normalize
===
"function"
&&
"c\u0327\u0301"
.
normalize
(
"NFC"
)
===
"\u1e09"
&&
"\u1e09"
.
normalize
(
"NFD"
)
===
"c\u0327\u0301"
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);