⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 loop.runtime.js

📁 javascript扩展库
💻 JS
字号:
// test bug found by Christer Forslund,// which cause bad compilationfunction global_setup() {	// don't use i, because global value conlicts with test runner	for(xyz = 0; xyz < 10; xyz++) {		foo->();	}	trace(xyz);}function foo() {}global_setup();assertTrail(10);// test bug found by Kris Zyp where// a for loop without braces goes into// an infinite loopfunction test_infinite_loop() {	for(var i = 0; i < 10; i++)		foo->();	trace(i);}test_infinite_loop();assertTrail(10);function bar(i) {	trace(i);}function test_no_braces() {	var x = {1:2, 3:4};	for (var i in x)		bar->(i);}test_no_braces();assertTrail(1, 3);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -