Merge pull request #2565 from lumosmind/patch-8

pseudo function expression
This commit is contained in:
Ilya Kantor 2021-04-17 20:02:01 +03:00 committed by GitHub
commit 4742c7b75c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -81,7 +81,7 @@ user = {
// method shorthand looks better, right?
user = {
*!*
sayHi() { // same as "sayHi: function()"
sayHi() { // same as "sayHi: function(){...}"
*/!*
alert("Hello");
}