Javascript Includes Nested Array Python Initialize Variable To Null