mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
0.12.4 release: fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/136
This commit is contained in:
@@ -242,6 +242,14 @@ export class NodeGuards {
|
||||
return node.type === NodeType.ReturnStatement;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {Node} node
|
||||
* @returns {boolean}
|
||||
*/
|
||||
public static isSuperNode (node: ESTree.Node): node is ESTree.Super {
|
||||
return node.type === NodeType.Super;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {Node} node
|
||||
* @returns {boolean}
|
||||
|
||||
Reference in New Issue
Block a user