From f9253404649492f0808134f6531f8188a63ece19 Mon Sep 17 00:00:00 2001 From: fabianrh2015 Date: Tue, 16 Jun 2015 20:49:15 +0100 Subject: [PATCH 1/2] =?UTF-8?q?A=C3=B1adir=20los=20ficheros=20:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit README.md LICENSE.md --- LICENSE.md | 7 +++++++ README.md | 3 +++ 2 files changed, 10 insertions(+) create mode 100644 LICENSE.md create mode 100644 README.md diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..a091249 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,7 @@ +Copyright (c) 2015 GitHub, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..a11ab8a --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +== Welcome to Random + +// Math.random() devuelve número aleatorio entre 0 y 1. \ No newline at end of file From 7b83de712e3ee72b156be7027651cbbbeb3c73a4 Mon Sep 17 00:00:00 2001 From: fabianrh2015 Date: Wed, 17 Jun 2015 02:08:18 +0100 Subject: [PATCH 2/2] Comentarios --- random.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/random.js b/random.js index 0e1c8f7..4f44d39 100644 --- a/random.js +++ b/random.js @@ -1,6 +1,9 @@ +// // Math.random() devuelve número aleatorio entre 0 y 1. -var numero = Math.random(); +// +// +var numero = Math.random(); var str =' MAYOR que 0,5'; if (numero <= 0.5){