* Use hasOwnProperty in a more robust way in JS interop. Fixes #23448 * Update JS
This commit is contained in:
parent
01de355289
commit
2cbc7a44cf
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -234,7 +234,7 @@ export module DotNet {
|
|||
}
|
||||
|
||||
function findJSFunction(identifier: string): Function {
|
||||
if (cachedJSFunctions.hasOwnProperty(identifier)) {
|
||||
if (Object.prototype.hasOwnProperty.call(cachedJSFunctions, identifier)) {
|
||||
return cachedJSFunctions[identifier];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue