Currently I am using Angular 2.0. I have an array as follows:
var channelArray: Array = [\'one\', \'two\', \'three\'];
How ca
Also note that "in" keyword does not work on arrays. It works on objects only.
propName in myObject
Array inclusion test is
myArray.includes('three');