POST https://www.googleapis.com/identitytoolkit/v3/relyingparty/verifyPassword?key=AIzaSyAYZP_ZzeDXyVSGn7_spG5Q3sAk5Mwauvo
"Content-Type": application/json; charset=utf-8
<template> | |
<div class="flex-col items-center"> | |
<h1 class="text-gray-700 text-6xl">Platzi Exchange v1.0.0</h1> | |
<p class="text-gray-600 text-xl text-center"> | |
Proyecto para obtener las cotizaciones de las cryptomonedas mas | |
importantes a traves de la API REST de Coincap. | |
<br />Este proyecto es utilizado en el curo de Vue.js Basico de Platzi | |
</p> | |
</div> | |
</template> |
function r(obj, cb) { | |
const wrapped = {} | |
for (let k in obj) { | |
let value = obj[k] | |
if (typeof value === 'object' && !Array.isArray(value)) { | |
value = r(value, cb) | |
} |
0xF3705B30a9839a8A3b267062bEc12DF247062F57 |
{ | |
"presets": ["env"] | |
} |
<div id="output">Hello World</div> | |
<!-- Load Babel --> | |
<script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script> | |
<!-- Your custom script here --> | |
<script type="text/babel"> | |
const getMessage = () => "Hello World"; | |
document.getElementById('output').innerHTML = getMessage(); | |
</script> |
import defaultMember from "module-name"; | |
import * as name from "module-name"; | |
import { member } from "module-name"; | |
import { member as alias } from "module-name"; | |
import { member1 , member2 } from "module-name"; | |
import "module-name"; |
function* idMaker() { | |
var index = 0; | |
while(true) | |
yield index++; | |
} | |
var gen = idMaker(); | |
console.log(gen.next().value); // 0 | |
console.log(gen.next().value); // 1 |
const catSchema = mongoose.Schema({ | |
name: String | |
}); | |
const Cat = mongoose.model('Cat', catSchema); | |
Cat.find({}, (err, cats) => { | |
if (err) { return console.error(err); } | |
console.log(cats); | |
}) |
const garfield = new Cat({ name: 'garfield' }); | |
garfield.save((err, cat) => { | |
if (err) { return console.error(err); } | |
cat.speak(); | |
}); |