JavaScript - filter is not working in IE8 - Asked By Sivanesh Vanmeeganathan on 01-Jan-15 04:40 PM


here is my code

status = status.filter(Boolean);

this code does not work in IE8

any alter solution for remove initial index of array instead of above code.
Robbe Morris replied to Sivanesh Vanmeeganathan on 02-Jan-15 08:30 AM
What type of object is "status"?  Are you putting "Boolean" in there or a real true/false value?  I do know that IE8 doesn't support a lot o advanced JavaScript stuff including many Jquery things.  These techniques didn't exist when IE8 first came out.