pxt-ev3/libs/core/test.ts

12 lines
160 B
TypeScript
Raw Normal View History

2017-06-29 16:47:26 +02:00
let i = 1
let f = 0.5
let plus = i + f
let minus = i - f
let r = Math.random()
let ri = Math.randomRange(5, 10)
loops.forever(() => {
loops.pause(100)
})