Skip to content
Snippets Groups Projects
Commit 50c62999 authored by HALLER Margaux's avatar HALLER Margaux
Browse files

Initial commit

parents
No related branches found
No related tags found
No related merge requests found
{
"deno.enable": true,
"deno.config": "./deno.jsonc",
"deno.unstable": true,
"editor.formatOnSave": true,
"editor.defaultFormatter": "denoland.vscode-deno"
}
\ No newline at end of file
{
"compilerOptions": {
"noImplicitAny": true
},
"lint": {
"rules": {
"tags": ["recommended"],
"include": [
"ban-untagged-todo",
"camelcase",
"explicit-function-return-type"
],
"exclude": ["no-unused-vars", "prefer-const"]
}
}
}
\ No newline at end of file
console.log("Hello, world");
function estADN(chaine: string): boolean {
if (chaine.length !== 0) {
for (let caractere of chaine) {
if (
caractere !== "A" && caractere !== "C" && caractere !== "G" &&
caractere !== "T"
) {
console.log(caractere);
return false;
}
}
}
return true;
}
let chainetest = "ACGGTAGTAGTTTCGACTGGAGGGGTA";
if (estADN(chainetest) === true) {
console.log("Ok");
} else {
console.log("Pas Ok");
}
function transcrit(chaine: string): string {
let nouvelleChaine = "";
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment