Closed qijizh closed 2 years ago
It works perfectly in normal way of method definitions for objects, like obj.fn1 and obj.fn2 , but can't work in shorter syntax for method definitions on objects, like obj.fn3.
obj.fn1
obj.fn2
obj.fn3
const obj = { fn1: function (params) { params.return //works }, fn2: (params) => { params.return //works }, fn3(params) { params.return //can't work }, };
My English expression may not be very good, please forgive me
Found the problem, fix will be available in next release.
Fixed in new release, please update
It works perfectly in normal way of method definitions for objects, like
obj.fn1
andobj.fn2
, but can't work in shorter syntax for method definitions on objects, likeobj.fn3
.My English expression may not be very good, please forgive me