Here is a piece of code I'm using to select and remove a d3.js node:
if (d.children) {
for (var child of d.children) {
if (child == node) {
d.children = _.without(d.children, child);
update(root);
break;
}
}
}
While this code functions correctly in Chrome and Edge, it encounters an issue in IE-11 with a missing semicolon. It seems to be related to the use of 'of' for looping. Has anybody else faced this problem in IE before? If so, how did you resolve it?