File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
jerry-core/ecma/operations Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -1682,6 +1682,9 @@ ecma_object_check_class_name_is_object (ecma_object_t *obj_p) /**< object */
16821682{
16831683#ifndef JERRY_NDEBUG
16841684 return (ecma_builtin_is (obj_p , ECMA_BUILTIN_ID_GLOBAL )
1685+ #ifndef CONFIG_DISABLE_ES2015_PROMISE_BUILTIN
1686+ || ecma_builtin_is (obj_p , ECMA_BUILTIN_ID_PROMISE_PROTOTYPE )
1687+ #endif /* !CONFIG_DISABLE_ES2015_PROMISE_BUILTIN */
16851688#ifndef CONFIG_DISABLE_ES2015_TYPEDARRAY_BUILTIN
16861689 || ecma_builtin_is (obj_p , ECMA_BUILTIN_ID_ARRAYBUFFER_PROTOTYPE )
16871690 || ecma_builtin_is (obj_p , ECMA_BUILTIN_ID_TYPEDARRAY_PROTOTYPE )
Original file line number Diff line number Diff line change 1+ // Copyright JS Foundation and other contributors, http://js.foundation
2+ //
3+ // Licensed under the Apache License, Version 2.0 (the "License");
4+ // you may not use this file except in compliance with the License.
5+ // You may obtain a copy of the License at
6+ //
7+ // http://www.apache.org/licenses/LICENSE-2.0
8+ //
9+ // Unless required by applicable law or agreed to in writing, software
10+ // distributed under the License is distributed on an "AS IS" BASIS
11+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ // See the License for the specific language governing permissions and
13+ // limitations under the License.
14+
15+ Function ( ) ( Promise . prototype . toLocaleString ( ) )
You can’t perform that action at this time.
0 commit comments