Skip to content

Instantly share code, notes, and snippets.

@fernandezpablo85
Forked from JuliaGabellone/tarea-1.js
Created July 5, 2012 01:04
Show Gist options
  • Save fernandezpablo85/3050369 to your computer and use it in GitHub Desktop.
Save fernandezpablo85/3050369 to your computer and use it in GitHub Desktop.
// E1
((2 == 3) && ("asdf" > "ASDF") && ( 4/2 == 2)) || (false && true)
(false && true && true) || false)
false || false
false
// E2
(Math.max(2,3) == 3) && (1+2+3+4+5+6+7+8+9+10 == 55)
true && true
true
// E3
false || true && true
true
// E4
// Si dos es menor a tres y cuatro es igual a 2 * 2, imprimir "si", sino imprimir "no".
if ((2<3)&& (4 ==2*2)){
console.log("si")
}
else{
console.log("no")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment