UNPKG
deezer-node
Version:
latest (1.1.1)
1.1.1
1.1.0
1.0.3
0.0.2
0.0.1
Deezer platformundan API Key olmadan bilgiler çekebilmenizi sağlar.
deezer-node
/
prototypes
/
turkishToEnglish.js
7 lines
•
311 B
JavaScript
View Raw
1
2
3
4
5
6
7
String
.
prototype
.
turkishToEnglish
=
function
(
) {
var
g =
""
;
for
(
const
harf
of
this
) { g += harf.
split
(
"ı"
).
join
(
"i"
).
split
(
"İ"
).
join
(
"I"
).
toLowerCase
().
replace
(
"ğ"
,
"g"
).
replace
(
"ç"
,
"c"
).
replace
(
"ü"
,
"u"
).
replace
(
"ö"
,
"o"
).
replace
(
"ş"
,
"s"
).
replace
(
/â/
,
"a"
); };
return
g; };