Merge pull request #2565 from lumosmind/patch-8
pseudo function expression
This commit is contained in:
commit
4742c7b75c
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ user = {
|
|||
// method shorthand looks better, right?
|
||||
user = {
|
||||
*!*
|
||||
sayHi() { // same as "sayHi: function()"
|
||||
sayHi() { // same as "sayHi: function(){...}"
|
||||
*/!*
|
||||
alert("Hello");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue