diff options
Diffstat (limited to 'zh-cn/groovy-cn.html.markdown')
| -rw-r--r-- | zh-cn/groovy-cn.html.markdown | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/zh-cn/groovy-cn.html.markdown b/zh-cn/groovy-cn.html.markdown index 562a0284..0e7a020c 100644 --- a/zh-cn/groovy-cn.html.markdown +++ b/zh-cn/groovy-cn.html.markdown @@ -219,10 +219,12 @@ for (i in array) {  //遍历映射  def map = ['name':'Roberto', 'framework':'Grails', 'language':'Groovy'] -x = 0 +x = ""  for ( e in map ) {      x += e.value +    x += " "  } +assert x.equals("Roberto Grails Groovy ")  /*    运算符 | 
