问题标签 [pogoscript]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
2 问题
0
投票
1
回答
134
浏览
javascript - 如何在 PogoScript 中索引数组?
我不知道如何使用 PogoScript 中的变量来索引数组。
常量似乎有效:
但变量不会:
有任何想法吗?
0
投票
1
回答
61
浏览
asynchronous - 为什么在使用 mocha 和 pogo 运行异步测试时 this.timeout 没有效果?
我正在使用PogoScript和 mocha 来测试一些进行异步调用的代码。
我需要增加超时时间,但我的代码不起作用。我试过使用this.timeout(5000)
,self.timeout(5000)
但没有效果。