Javascript easy to understand solution
javascript\nvar isBalanced = function(root) {\n    function getHeight(node) {\n        if (node === null) return 0;\n        return Math.max( getHeight(node.lef
```javascript\nvar isBalanced = function(root) {\n    function getHeight(node) {\n        if (node === null) return 0;\n        return Math.max( getHeight(node.left), getHeight(node.right) ) + 1;\n    }\n    \n    if (root === null) return true;\n    return isBalanced(root.left) && isBalanced(root.right) && \n        Math.abs( getHeight(root.left) - getHeight(root.right) ) < 2;\n};\n```\n**Please upvote if you like it**
['JavaScript']