From 9bdb95c9e34cef640534e5e5a1e2225a80442000 Mon Sep 17 00:00:00 2001
From: HelenHuang <LinHuang@pollex.com.tw>
Date: 星期四, 09 六月 2022 15:48:15 +0800
Subject: [PATCH] TODO#139894 [ footer -最下方說明與保經代合作 ] 文案修改

---
 PAMapp/node_modules/string.prototype.trimend/index.js |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/PAMapp/node_modules/string.prototype.trimend/index.js b/PAMapp/node_modules/string.prototype.trimend/index.js
index 31f6bf4..7aa6140 100644
--- a/PAMapp/node_modules/string.prototype.trimend/index.js
+++ b/PAMapp/node_modules/string.prototype.trimend/index.js
@@ -2,17 +2,22 @@
 
 var callBind = require('call-bind');
 var define = require('define-properties');
+var RequireObjectCoercible = require('es-abstract/2021/RequireObjectCoercible');
 
 var implementation = require('./implementation');
 var getPolyfill = require('./polyfill');
 var shim = require('./shim');
 
 var bound = callBind(getPolyfill());
+var boundMethod = function trim(receiver) {
+	RequireObjectCoercible(receiver);
+	return bound(receiver);
+};
 
-define(bound, {
+define(boundMethod, {
 	getPolyfill: getPolyfill,
 	implementation: implementation,
 	shim: shim
 });
 
-module.exports = bound;
+module.exports = boundMethod;

--
Gitblit v1.8.0