Test environment
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 - 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');
Developer | Matheus |
Username | MatheusLima92 |
Uploaded | September 03, 2022 |
Rating | 3 |
Size | 1,781 Kb |
Views | 38,456 |
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!
Name | Size |
Tic-Tac-Toe Game - v3 | 5,827 Kb |
Game of Life | 6,575 Kb |
Alumni ECA | 3,777 Kb |
A Pen by Matheus | 3,441 Kb |
Voting App | 2,012 Kb |
Simon Game | 4,697 Kb |
Camper LeaderBoard | 4,784 Kb |
Tic-Tac-Toe Game - Jquery | 5,818 Kb |
Portfolio | 7,721 Kb |
Javascript Calculator | 3,484 Kb |
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!
Name | Username | Size |
Pink expansion tunnel | Vez | 1,738 Kb |
Hamburger Menu Animation | Salmanraza | 2,580 Kb |
A Pen by Andrea Verlicchi | Verlok | 2,018 Kb |
Exploring css spinners | Akagr | 3,569 Kb |
A Pen by Tosh | Panev | 2,586 Kb |
Voting App - register | MatheusLima92 | 1,948 Kb |
Blog | Rottingroom | 1,430 Kb |
Boxes | H3l1um | 2,563 Kb |
Getting Started | Viblast | 1,500 Kb |
SVG Transform vs CSS Transform | AmeliaBR | 4,175 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!