问题
I have a SignIn V2 policy in Azure Active Directory B2C


This configuration works well in Google Chrome, but whenever I try to run it in Internet Explorer 11, I get
SCRIPT1002: Syntax error
In the console, and the login button doesn't respond.

This happens when JavaScript is enabled. When I disable it, the page works in IE11 (But my manipulations don't).
Has anyone encountered this problem before?
回答1:
I found out what the problem was. I was using ES6 syntax such as
() => {
...
}
Once I replaced it to
function () {
...
}
It worked on IE11.
Thank you @Thomas and @Zhi Lv - MSFT
来源:https://stackoverflow.com/questions/56732188/custom-template-in-azure-b2c-doesnt-work-in-ie11-when-javascript-is-enabled