-3

I was trying to run the Javascript in JSBin for the first time as in screenshot below Jsbin image

why the console is not showing the result as expected any suggestions

Thanks Prasad

user3349850
  • 225
  • 1
  • 3
  • 21
  • 2
    If you had checked the console of your browser you would have seen the problem: `Filter !== filter` – Andreas Jun 30 '18 at 11:58
  • Thanks for the error finding . thought that the console shown and browser console will be same as I am new to JSbin – user3349850 Jun 30 '18 at 12:48

1 Answers1

1

f should be small in filter.

.

kamal11
  • 364
  • 1
  • 5
  • 16
  • Since when is `Array.prototype.filter()` part of ES6? O.o `.filter()` is part of [ECMAScript 5.1 from 2011](https://www.ecma-international.org/ecma-262/5.1/#sec-15.4.4.20) – Andreas Jun 30 '18 at 15:11