Ejercicios de JavaScript y JQuery usando Airbnb JavaScript Style Guide en Cloud9

Cheers and happy coding :slight_smile: .

Mmm, qué buena idea. yo también debería realizar algún proyecto para ponerme al día con la sintaxis de ES6. Pero como en el trabajo no lo gastamos… pues eso :sweat_smile:

lol en realidad es díficil practicar la sintaxis de un lenguaje sin algún incentivo. Con el primer ejercicio aprendí que existen los “template literals”, al parecer es una buena forma de explorar javascript :smile: .

Saludos

No habĂ­a oĂ­do hablar nunca de template literals O.o

Yo tampoco, lo que me parece extraño porque se ven bastante interesantes:

The expressions in the place holders and the text between them get passed to a function. The default function just concatenates the parts into a single string. If there is an expression preceding the template literal (tag here), the template string is called “tagged template literal”. In that case, the tag expression (usually a function) gets called with the processed template literal, which you can then manipulate before outputting.

Cheers and happy coding :slight_smile:

1 Like