Sign in
webkit
/
WebKit
/
ab67612844bd4ac77f66b7c72fa733d3c90c027f
/
.
/
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"
);