Message from JavaScript discussions

June 2019

— I guess a polyline is essentially a non-cyclic polygon

— 

Source:

console.log('You guys know that there are bots that can run JS inside Telegram, right?');


Console:
You guys know that there are bots that can run JS inside Telegram, right?


Result:
undefined

— Source:

1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10


Result:
55

— Your polyline definition is correct. all over the place means, the drop container sizes up from the polyline line to a square all over the map, makes it impossible to spperate the drop targets

Message permanent page

— Got it 👍

— Source:

0.1+0.2


Result:
0.30000000000000004

— Ok :)

— This is truly JS

— Interesting, a scaling issue I guess

— Does it scale with the coordinates, or independently of them?

— I mean... does it seem like the scaling is a factor of the coordinate values

— So like, coord is at 100,150, but scaling places a point at 200, 300