From ab4e8129d5c94ff96e6c85d0d2b66a04a052b4e5 Mon Sep 17 00:00:00 2001
From: HelenHuang <LinHuang@pollex.com.tw>
Date: 星期四, 09 六月 2022 15:26:15 +0800
Subject: [PATCH] TODO#139888 嚴選配對 - 文案修改

---
 PAMapp/node_modules/core-js/es/instance/starts-with.js |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/PAMapp/node_modules/core-js/es/instance/starts-with.js b/PAMapp/node_modules/core-js/es/instance/starts-with.js
index 99a01a7..9f8b081 100644
--- a/PAMapp/node_modules/core-js/es/instance/starts-with.js
+++ b/PAMapp/node_modules/core-js/es/instance/starts-with.js
@@ -1,9 +1,10 @@
-var startsWith = require('../string/virtual/starts-with');
+var isPrototypeOf = require('../../internals/object-is-prototype-of');
+var method = require('../string/virtual/starts-with');
 
 var StringPrototype = String.prototype;
 
 module.exports = function (it) {
   var own = it.startsWith;
-  return typeof it === 'string' || it === StringPrototype
-    || (it instanceof String && own === StringPrototype.startsWith) ? startsWith : own;
+  return typeof it == 'string' || it === StringPrototype
+    || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.startsWith) ? method : own;
 };

--
Gitblit v1.8.0