You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: basic/07_fungsi/README.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -101,3 +101,25 @@ func main(){
101
101
102
102
Di dunia go, kita nanti akan sering sekali menjumpai fungsi dengan multiple return, baik fungsi-fungsi bawaan dari go atau funsgi
103
103
dari library yang kita pakai.
104
+
105
+
## Naked Return
106
+
107
+
Dalam bahasa pemrograman Go, kita bisa melakukan *naked return*. Artinya return statement dalam body function tidak secara eksplisit menentukan variable yang akan direturn.
0 commit comments