Questions et réponses pour le function :

A function (also called a procedure, method, subroutine, or routine) is a portion of code intended to carry out a single, specific task. Use this tag for questions which specifically involve creating or calling functions. For help implementing a function to perform a task, use [algorithm] or a task-specific tag instead.

2
votes
J'essaie de faire la somme du total des matchs et des participants de chaque coupe dans cet objet: var cups_result = { "Total_Cup_1": { matches: 72, participants: 6740, }, "Tota ...

2
votes
Comment la méthode apply () fonctionne-t-elle en Java? Concernant l'interface fonctionnelle d'UnaryOperator, j'ai lu la documentation, elle dit new Stream().map(new Upperca ...

2
votes
J'ai un div avec une carte openlayers comme celle-ci: <div id="map" (click)="getInfo($event)" class="map"></div> J'utilise le glissement avec ma souris pour naviguer sur ...

2
votes
J'ai cette liste ci-dessous, obtenant des données de l'api: [0: {active: true, gender: "male"}, 1: {active: true, gender: "female"}, 2: {active: true, gender: "female"}, 3: {active: fa ...