refactor(): use const and let instead of var
This commit is contained in:

committed by
Victor Berchet

parent
73593d4bf3
commit
77ee27c59e
@ -244,7 +244,7 @@ _global.beforeEach(function() {
|
||||
});
|
||||
|
||||
function elementText(n: any): string {
|
||||
var hasNodes = (n: any) => {
|
||||
const hasNodes = (n: any) => {
|
||||
const children = getDOM().childNodes(n);
|
||||
return children && children.length > 0;
|
||||
};
|
||||
|
Reference in New Issue
Block a user