src/get-static-value.js
function getStaticValueR(node, initialScope) {
    if (node != null && Object.hasOwnProperty.call(operations, node.type)) {
        return operations[node.type](node, initialScope)
    }
    return null
}
function getStaticValueR(node, initialScope) {
    if (node != null && Object.hasOwnProperty.call(operations, node.type)) {
        return operations[node.type](node, initialScope)
    }
    return null
}
Get the value of a given node if it's a static value.
@param {Node} node The node to get.
@param {Scope|undefined} initialScope The scope to start finding variable.
@returns {{value:any}|null} The static value of the node, or `null`.