From 3acd976a591d574882097e18ea0ee356e702b6d7 Mon Sep 17 00:00:00 2001 From: Ula Chao Date: Tue, 14 Dec 2021 00:17:26 +0800 Subject: [PATCH] fix: closure example --- scope-closures/apA.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scope-closures/apA.md b/scope-closures/apA.md index 475ebeaa4..e6ee435f7 100644 --- a/scope-closures/apA.md +++ b/scope-closures/apA.md @@ -651,7 +651,7 @@ function getStudents(data) { let id = `student-${ record.id }`; studentRecords.push({ id, - record.name + name: record.name }); }