Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Wrong cast to boolean #4277

Closed
Closed
@zakjan

Description

@zakjan

toBoolean(window) === false

because of that toBoolean(value) function checks value.length property, which means for window the count of (i)frames - usually 0.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions