Notice: Failed to invoke Pygments: [Called from MediaWiki\SyntaxHighlight\SyntaxHighlight::highlightInner in /home/pi/www/gtac/wiki/wiki/extensions/SyntaxHighlight_GeSHi/includes/SyntaxHighlight.php at line 334] in /home/pi/www/gtac/wiki/wiki/includes/debug/MWDebug.php on line 507
SyntaxHighlightTest - GTA Connected

SyntaxHighlightTest

function testFunc(firstVar, secondVar = 2) {
	var testVar = "nope";
	let testVar = 1.23;
	var boolVar = false;
	
	if(testVar != "yep") {
		console.error("BAD");
	}
	
	return true;
);