File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
1-js/13-modules/02-import-export Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -115,9 +115,9 @@ Bunun bir kaç nedeni var.
115115
116116## Import " as"
117117
118- We can also use ` as` to import under different names .
118+ Farklı isimler altında içeriye aktarmak iç in ` as` da kullanabiliriz .
119119
120- For instance, let ' s import `sayHi` into the local variable `hi` for brevity, and same for `sayBye`:
120+ Örneğ in , Hadi kısa olması iç in ` sayHi` değişkenini ` hi` yerel değişken içine alalı m . Ayn ı şekilde ` sayBye` içinde :
121121
122122` ` ` js
123123// 📁 main.js
@@ -131,17 +131,17 @@ bye('John'); // Bye, John!
131131
132132## Export " as"
133133
134- The similar syntax exists for `export`.
134+ Benzer sözdizimleri ` export` içinde var .
135135
136- Let ' s export functions as ` hi` and ` bye` :
136+ Hadi fonksiyonları ` hi` ve ` bye` olarak dışarıya aktaralım :
137137
138138` ` ` js
139139// 📁 say.js
140140...
141141export {sayHi as hi, sayBye as bye};
142142` ` `
143143
144- Now ` hi` and ` bye` are official names for outsiders :
144+ Şimdi ` hi` ve ` bye` dışarıdakiler iç in resmi isimler :
145145
146146` ` ` js
147147// 📁 main.js
You can’t perform that action at this time.
0 commit comments