Observa que las funciones JavaScript son objetos en sí mismos y puedes agregarles o cambiarles sus propiedades igual que a los objetos que hemos visto en la sección Objetos.
Note that JavaScript functions are themselves objects - like everything else in JavaScript - and you can add or change properties on them just like we've seen earlier in the Objects section.
Conceptualmente, los componentes son como las funciones de JavaScript.
Una función JavaScript para enviar los datos JSON al servidor.
A JavaScript function to send the JSON data to the server.
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.
Înregistrează-te pentru a accesa mai multe exemple