You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ecma_is_value_null and ecma_is_value_undefined is used together in multiple places in the source code. It would nice to have a new ecma_is_value_nullish function to make the code simpler and more readable. e.g:
Nullish naming can be a little bit confusing, because ECMAScript specification doesn't use this term. There are many places in the spec, where an expression should be checked if it is undefined or null. Maybe the ecma_is_value_null_or_undefined(...) would fit better to the ES spec terms.
ecma_is_value_null
andecma_is_value_undefined
is used together in multiple places in the source code. It would nice to have a newecma_is_value_nullish
function to make the code simpler and more readable. e.g:The text was updated successfully, but these errors were encountered: