relative/synchrony

readme中的示例,本地执行的结果与在线的结果不一样

Opened this issue · 0 comments

  1. 本地安装的版本:2.4.1
let num = 0
function main() {
  const _0x135624 = {
    DiBMh: 'main executed, num =',
    ySWWD: function (_0x48f368, _0x58b295) {
      return _0x48f368 < _0x58b295
    },
    bSqkZ: function (_0x33bc27, _0x5dc9b7) {
      return _0x33bc27 * _0x5dc9b7
    },
    NSbGK: 'in loop, num =',
    CIMSL: 'out of loo' + _0x30be1c(-284, -277, -285, -287, -295),
    mprfv: function (_0x5077b4, _0x14ee58) {
      return _0x5077b4(_0x14ee58)
    },
  }
  console.log(_0x135624.DiBMh, num)
  for (let _0x17ac87 = 0; _0x135624.ySWWD(_0x17ac87, 50); ++_0x17ac87) {
    num = _0x135624.bSqkZ(_0x17ac87, 2)
    console.log(_0x135624.NSbGK, num)
  }
  console.log(_0x135624[_0x30be1c(-285, -269, -291, -301, -281)], num)
  _0x135624[_0x2aab16(-563, -546, -536, 'RPZP', -552)](test, num)
}
const test = (_0x50bdc8) => {
  console.log(
    _0x64929a[_0x93f775(-754, -746, -746, -738, -740)](_0x50bdc8, 320)
  )
  console.log('test message')
}
main()
    CIMSL: 'out of loo' + _0x30be1c(-284, -277, -285, -287, -295),
                        ^

ReferenceError: _0x30be1c is not defined
  1. 在线版本:ver. 2.2.0
let num = 0
function main() {
  console.log('main executed, num =', num)
  for (let _0x17ac87 = 0; _0x17ac87 < 50; ++_0x17ac87) {
    num = _0x17ac87 * 2
    console.log('in loop, num =', num)
  }
  console.log('out of loop, num =', num)
  test(num)
}
const test = (_0x50bdc8) => {
  console.log(_0x50bdc8 + 320)
  console.log('test message')
}
main()