Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

setting custom property

marcink-lwR9iu
Level 2
Level 2

Hi,

Without strict scope i could set a custom property like this: this.foo = "bar"

Is there a way to do it with strict scope?

thanks

marcin

2 Replies
Gaurav-Behl
Community Advisor
Community Advisor

do you mean in javascript or any specific framework?

may be use typeof ?

smacdonald2008
Level 10
Level 10

Please provide more information - you are not talking about node properties right. Looks like JS.