function test(form){
var TestVar = document.getElementById("length").value;
alert ("You typed: " + TestVar);
document.getElementById('output').value=TestVar ;
Wszystko
Najnowsze
Archiwum
Komentarz usunięty przez autora
Komentarz usunięty przez autora
8

a new binary format for compiling applications for the web. The team notes that the idea here is not to replace JavaScript, by the way, but to allow many more languages to be compiled for the Web. Indeed, chances are that both JavaScript and WebAssembly will be used side-by-side.
z
źródło: comment_STcvz0ZsU0MZKsBX2RTKAoaj8uSRKPqR.jpg
Pobierz7

Całkiem ciekawa wizualizacja ekosystemu npm, czyli systemu zarządzania paczkami javascript. Domyślnie stworzony dla node.js, dzięki swojej prostocie i uniwersalności (a tak naprawdę dzięki bundlerom browserify i webpack) można w nim dziś także znaleźć niemal każdą bibliotekę typowo frontendową..
z('arrow functions')
Regulamin
Reklama
Kontakt
O nas
FAQ
Osiągnięcia
Ranking
Jak zwrócić kolekcje obiektów dla kilku parametrów?
data.forEach(function(el) {return el.param == 'arg1' || 'arg2';
})
var a = [2,4,6,8,10];
var b = (new Array(20)).fill(null).map((e,i)=>i);
b.filter(el=>a.some(el2 =>el2===el));