var keyword = "string";
var list = [{
title: "Learning Redux-Saga",
description: "Redux form",
{
title: "Learning reactjs",
description: "Redux form",
status: 2,
id: 2
},
id: 1
}, {
title: "Learning SASS",
status: 1,
id: 3
}, {
title: "Learning Java",
description: "OOP",
status: 0,
id: 4
}]
var filteredTask = list.filter(task => task.title.trim().toLowerCase().includes(keyword.trim()));