[Javascript] Simple solution using Manhattan distance
Intuition : Ghost can only reach you when the distance from the ghost to the target is smaller than the distance between you and the target\n\nTo calculate the 
Intuition : Ghost can only reach you when the distance from the ghost to the target is smaller than the distance between you and the target\n\nTo calculate the distance, as we are in a 2D map and there is no obstacles we can use the Manhattan distance. \n\n\n```\nvar escapeGhosts = function(ghosts, target) {\n    const dist = Math.abs(target[0]) + Math.abs(target[1]);\n    \n    for (let ghost of ghosts) {\n        if (Math.abs(target[0] - ghost[0]) + Math.abs(target[1] - ghost[1]) <= dist) {\n            return false;\n        }\n    }\n    \n    return true;\n};\n```
['JavaScript']