summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--es-es/kotlin-es.html.markdown6
-rw-r--r--ko-kr/kotlin-kr.html.markdown6
-rw-r--r--kotlin.html.markdown6
-rw-r--r--zh-cn/kotlin-cn.html.markdown6
4 files changed, 12 insertions, 12 deletions
diff --git a/es-es/kotlin-es.html.markdown b/es-es/kotlin-es.html.markdown
index 5d2f165a..f48f6536 100644
--- a/es-es/kotlin-es.html.markdown
+++ b/es-es/kotlin-es.html.markdown
@@ -185,13 +185,13 @@ fun main(args: Array<String>) {
// La función "with" es similar a la expresión de JavaScript "with".
data class MutableDataClassExample (var x: Int, var y: Int, var z: Int)
- val fooMutableDate = MutableDataClassExample(7, 4, 9)
- with (fooMutableDate) {
+ val fooMutableData = MutableDataClassExample(7, 4, 9)
+ with (fooMutableData) {
x -= 2
y += 2
z--
}
- println(fooMutableDate) // => MutableDataClassExample(x=5, y=6, z=8)
+ println(fooMutableData) // => MutableDataClassExample(x=5, y=6, z=8)
/*
Podemos crear una lista utilizando la función "listOf".
diff --git a/ko-kr/kotlin-kr.html.markdown b/ko-kr/kotlin-kr.html.markdown
index 9b2294d4..788f80c5 100644
--- a/ko-kr/kotlin-kr.html.markdown
+++ b/ko-kr/kotlin-kr.html.markdown
@@ -186,13 +186,13 @@ fun helloWorld(val name : String) {
// "with" 함수는 JavaScript 의 "with" 구문과 비슷하게 사용됩니다.
data class MutableDataClassExample (var x: Int, var y: Int, var z: Int)
- val fooMutableDate = MutableDataClassExample(7, 4, 9)
- with (fooMutableDate) {
+ val fooMutableData = MutableDataClassExample(7, 4, 9)
+ with (fooMutableData) {
x -= 2
y += 2
z--
}
- println(fooMutableDate) // => MutableDataClassExample(x=5, y=6, z=8)
+ println(fooMutableData) // => MutableDataClassExample(x=5, y=6, z=8)
/*
"listOf" 함수로 리스트를 만들 수 있습니다.
diff --git a/kotlin.html.markdown b/kotlin.html.markdown
index d1f1aae6..a7f26126 100644
--- a/kotlin.html.markdown
+++ b/kotlin.html.markdown
@@ -189,13 +189,13 @@ fun helloWorld(val name : String) {
// The "with" function is similar to the JavaScript "with" statement.
data class MutableDataClassExample (var x: Int, var y: Int, var z: Int)
- val fooMutableDate = MutableDataClassExample(7, 4, 9)
- with (fooMutableDate) {
+ val fooMutableData = MutableDataClassExample(7, 4, 9)
+ with (fooMutableData) {
x -= 2
y += 2
z--
}
- println(fooMutableDate) // => MutableDataClassExample(x=5, y=6, z=8)
+ println(fooMutableData) // => MutableDataClassExample(x=5, y=6, z=8)
/*
We can create a list using the "listOf" function.
diff --git a/zh-cn/kotlin-cn.html.markdown b/zh-cn/kotlin-cn.html.markdown
index 1fd12f5b..eb69156b 100644
--- a/zh-cn/kotlin-cn.html.markdown
+++ b/zh-cn/kotlin-cn.html.markdown
@@ -178,13 +178,13 @@ fun helloWorld(val name : String) {
// "with"函数类似于JavaScript中的"with"用法。
data class MutableDataClassExample (var x: Int, var y: Int, var z: Int)
- val fooMutableDate = MutableDataClassExample(7, 4, 9)
- with (fooMutableDate) {
+ val fooMutableData = MutableDataClassExample(7, 4, 9)
+ with (fooMutableData) {
x -= 2
y += 2
z--
}
- println(fooMutableDate) // => MutableDataClassExample(x=5, y=6, z=8)
+ println(fooMutableData) // => MutableDataClassExample(x=5, y=6, z=8)
/*
我们可以使用"listOf"函数来创建一个list。