Jakie wartości zostaną wypisane przez funkcję wypisz(2) zaimplementowaną w JavaScript?
| function wypisz(a) { for (var i=1; i<6; i++) { a++; if ((a%2==0)|| (a%3==0)) document.write(a+" " ); } } |
| function wypisz(a) { for (var i=1; i<6; i++) { a++; if ((a%2==0)|| (a%3==0)) document.write(a+" " ); } } |
long int fun1(int a, int b) |

| color: #008000; |
<title>Strona miłośników psów</title> Tekst ten pojawi się
<video width="640" height="480" controls>
<source src="animacja.mp4" type="video/mp4">
</video>
echo date("Y-m");
| Fragment kodu React.js: | |
state = { zm1: 0 }; hanleEv = () => { this.setState({zm1: this.state.zm1 + 1}); } render() { return (<div> <span>{this.state.zm1}</span> <button onClick={this.handleEv}>BTN_1</button> </div>); } | |
| Fragment kodu Angular: | |
@Component({ selector: 'sel1', template: `<span>{{ zm1 }}</span> <button (click)="onBtnCilcked()">BTN_1</button>` }) export class Licznik1Component { zm1 = 0; onBtnCilcked() { this.zm1++; } } |
| <input type="password" size="30" maxlength="20"> |
var x=true; sprawia, że zmienna x ma typ$zmienna1 = 15; $zmienna2 = "15"; $zmienna3 = (string) $zmienna1;
if ($a > $b && $a > $c) echo $a; else if ($b > $c) echo $b; else echo $c;
let x = 5; let y = '10'; console.log(x + y);

