你可以在方法主体只有一个表达式的时候省略大括号。
You can omit the braces if the method body has just one expression.
真正的友谊,像植物一样,要一点一点慢慢的培养、成长。但是,现在你可以省略培养友谊的过程,直接“租赁朋友”。
True friendship is a plant of slow growth ... but you could always rent
我们可以看到,当标示符被省略的时候,这样的结构只能是一个函数表达式。
We can see that when identifier is omitted, that "something" can only be an expression.
还可以省略对原始项的所有引用。
你可以省略书中枯燥的部分。
为了降低帧速率成本,您可以选择省略其中的某些。
To reduce the frame rate cost, you can choose to leave out some of them.
你可以把故事中无趣的部分省略。
You can leave out the parts of the story that are not interesting.
那就是他为什么要离开的原因。 注:why 时常也可以省略。
那就是他为什么要离开的原因。 注:why 时常也可以省略。
应用推荐