Improve example of babel-plugin-transform-es2015-arrow-functions

[skip ci]
This commit is contained in:
Carlos Saito 2017-04-02 14:27:15 +02:00
parent 878a7c5fdb
commit 95c65ec1cb

View File

@ -40,7 +40,7 @@ console.log(double); // [2,4,6]
var bob = {
_name: "Bob",
_friends: ["Sally", "Tom"],
printFriends: function printFriends() {
printFriends() {
var _this = this;
this._friends.forEach(function (f) {