From 90e6cb94e9c9a4d055a0983c9c7386daa48f61f9 Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期四, 09 六月 2022 15:45:03 +0800 Subject: [PATCH] TODO#139893 [ FAQ 常見問題 -我進行預約後,顧問會用甚麼方式聯繫我? ] 文案調整 --- 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