Test environment

Developer
Size
1,781 Kb
Views
38,456

How do I make an test environment?

What is a test environment? How do you make a test environment? This script and codes were developed by Matheus on 03 September 2022, Saturday.

Test environment Previews

Test environment - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Test environment</title>
</head>
<body> <script src='https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js'></script>
<script src='http://ajax.googleapis.com/ajax/libs/angularjs/1.3.2/angular.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Test environment - Script Codes JS Codes

function auxCheck(list1,list2){ if(list1.length != list2.length){ //console.log(list1); //console.log('ted'); return 'NOA'; } else{ for(var i=0; i<list1.length; i++){ char1=list1[i]; char2=list2[i]; if(char1=='{' && char2 !='}') return 'NOB'; else if(char1=='[' && char2 !=']') return 'NOC'; else if(char1=='(' && char2 !=')') return 'NOD'; } return 'YES'; }
}
function braces(values) { var ans=[]; for(var i=0; i<=values.length; i++){ var openList=[]; var closeList=[]; for(var j=0; j<=values[i].length; j++){ if (values[i][j]=='{' || values[i][j]=='[' || values[i][j]=='(') openList.push(values[i][j]); else if (values[i][j]=='}' || values[i][j]==']' || values[i][j]==')') closeList.push(values[i][j]); } //console.log(openList); //console.log(closeList); ans.push(auxCheck(openList,closeList)); } console.log('fweomfew'); console.log(ans);
}
var values=['[{()}]','{][}'];
var res=braces(values);
console.log('re:');
console.log('i2emodesfim');
Test environment - Script Codes
Test environment - Script Codes
Home Page Home
Developer Matheus
Username MatheusLima92
Uploaded September 03, 2022
Rating 3
Size 1,781 Kb
Views 38,456
Do you need developer help for Test environment?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Matheus (MatheusLima92) Script Codes
Create amazing captions with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!