Update the webpage (#2334)
JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
This commit is contained in:
@@ -71,7 +71,7 @@ behaviour through property getting and setting.
|
||||
* prop_value contains a live reference to an error object.
|
||||
* This reference must be released as well. */
|
||||
|
||||
if (jerry_value_has_error_flag (prop_value))
|
||||
if (jerry_value_is_error (prop_value))
|
||||
{
|
||||
/* Errors can be handled here. */
|
||||
}
|
||||
@@ -103,7 +103,7 @@ behaviour through property getting and setting.
|
||||
/* The reference stored in the 'result' variable is live whether
|
||||
* the operation is successful or not, and must also be freed. */
|
||||
|
||||
if (jerry_value_has_error_flag (result))
|
||||
if (jerry_value_is_error (result))
|
||||
{
|
||||
/* Errors can be handled here. */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user