You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Global rxjs from unpkg.com/[email protected]/dist/bundles/rxjs.umd.jsvarajax=rxjs.ajax.ajax;varurl='https://api.github.com/users?per_page=2';varusers=ajax.getJSON(url);varsubscribe=users.subscribe(function(res){console.log(typeofres,res)},function(err){console.error(err)});
IE11 typeof res is "string"
Chrome typeof res is "object" as expected
Environment
Runtime: Browser IE11
RxJS version: 7.2.0
The text was updated successfully, but these errors were encountered:
Bug Report
Current Behavior
With IE11
ajax.getJSON
returns the response stringExpected behavior
With IE11
ajax.getJSON
should return an object as other browsers doReproduction
** Please provide repro code does not involves framework, or other setups to address this bug is specific to rxjs core **
https://johnhunter.github.io/rxjs-ie11-getJSON-issue/
typeof res
is "string"typeof res
is "object" as expectedEnvironment
The text was updated successfully, but these errors were encountered: