From 8ab07e1e325d00046c2126ec4d7ce09408308f90 Mon Sep 17 00:00:00 2001 From: Saiyn Dembirel Date: Thu, 7 Nov 2019 17:19:38 +0700 Subject: [PATCH] consistent error output comments --- 1-js/99-js-misc/01-proxy/01-error-nonexisting/solution.md | 2 +- 1-js/99-js-misc/01-proxy/01-error-nonexisting/task.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/1-js/99-js-misc/01-proxy/01-error-nonexisting/solution.md b/1-js/99-js-misc/01-proxy/01-error-nonexisting/solution.md index 64895853..357a5731 100644 --- a/1-js/99-js-misc/01-proxy/01-error-nonexisting/solution.md +++ b/1-js/99-js-misc/01-proxy/01-error-nonexisting/solution.md @@ -19,5 +19,5 @@ function wrap(target) { user = wrap(user); alert(user.name); // John -alert(user.age); // ReferenceError: Property doesn't exist +alert(user.age); // ReferenceError: Property doesn't exist "age" ``` diff --git a/1-js/99-js-misc/01-proxy/01-error-nonexisting/task.md b/1-js/99-js-misc/01-proxy/01-error-nonexisting/task.md index f890256c..827cf35e 100644 --- a/1-js/99-js-misc/01-proxy/01-error-nonexisting/task.md +++ b/1-js/99-js-misc/01-proxy/01-error-nonexisting/task.md @@ -27,6 +27,6 @@ user = wrap(user); alert(user.name); // John *!* -alert(user.age); // Error: Property doesn't exist +alert(user.age); // ReferenceError: Property doesn't exist "age" */!* ```