Discuss Scratch
- Discussion Forums
- » Bugs and Glitches
- » My Block input named __proto__ is always 0
- mlcreater
-
Scratcher
1000+ posts
My Block input named __proto__ is always 0
My browser / operating system: ChromeOS 14541.0.0, Chrome 114.0.0.0, No Flash version detected
If I make this block:
If I make this block:
define test [__proto__]and run:
say (__proto__)
test [abc] :: custom // string, should say "abc"
test ((1) * (1)) :: custom // number, should say "1"
test <not <>> :: custom // boolean, should say "true"or
test (user id :: sensing) :: custom // ???, should say "undefined"the sprite always says 0
- CST1229
-
Scratcher
1000+ posts
My Block input named __proto__ is always 0
Can reproduce. My browser / operating system: Windows NT 10.0, Firefox 116.0, No Flash versions detected


(#1)The user ID block returns undefined.test (user id :: sensing) :: custom // ???, should say "undefined"
Last edited by CST1229 (July 15, 2023 14:20:43)
- NotK3ndricAlt
-
Scratcher
1000+ posts
My Block input named __proto__ is always 0
Can replicate. My browser / operating system: Android Linux 9, Chrome 112.0.5615.197, No Flash version detected
define test (__proto__)
say (__proto__)
test [abcd]
- undeterminstic
-
Scratcher
1000+ posts
My Block input named __proto__ is always 0
I think it has to do with the fact the __proto__ is used in JS
- Discussion Forums
- » Bugs and Glitches
-
» My Block input named __proto__ is always 0