My JavaScript solution✅
Do Upvote if you liked it!!\n*\n\n/**\n * @param {number[]} rec1\n * @param {number[]} rec2\n * @return {boolean}\n */\nvar isRectangleOverlap = function(rec1, 
**Do Upvote if you liked it!!**\n****\n```\n/**\n * @param {number[]} rec1\n * @param {number[]} rec2\n * @return {boolean}\n */\nvar isRectangleOverlap = function(rec1, rec2) {\n        let ax1 = rec1[0];\n        let ax2 = rec1[2];\n        let ay1 = rec1[1];\n        let ay2 = rec1[3];\n        \n        let bx1 = rec2[0];\n        let bx2 = rec2[2];\n        let by1 = rec2[1];\n        let by2 = rec2[3];\n        \n        let left = Math.max(ax1 , bx1);\n        let right = Math.min(ax2 , bx2);\n        \n        let bottom = Math.max(ay1 , by1);\n        let top = Math.min(ay2 , by2);\n        \n        if(right > left && top > bottom){\n            return true;\n        }\n        \n        return false;\n};\n```\n****
['JavaScript']