Skip to content

Array prototype functions #8

@Antihawk

Description

@Antihawk

After importing the library throughout the project, functions from the prototype appeared in arrays.

const arrayTest = [{ test: true }, { test: false }, { test: true }]
for (let key in arrayTest ) {
   console.log(key)
}

with import { SVGMesh } from 'three-svg-renderer':
// 0, 1, 2, clear, remove

without:
// 0, 1, 2

clear and remove which appeared break cycles in the project

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions