Skip to content

"TypeError: Cannot use 'in' operator to search for 'names' in bf7823uhvbon3f289ph32f #7381

Closed
@lopugit

Description

@lopugit

Version

2.5.13

Reproduction link

https://jsfiddle.net/49gptnad/905/

Steps to reproduce

Just run it and open the console in a debugger

What is expected?

that the target variable is type checked for being a string before trying to perform the key in target line, to prevent a big error message

What is actually happening?

a big error message comes up


I'm going to have a look at a fix for it now so I'll post it if I figure it out

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions