Qu'affiche le programme suivant ?
function f() {| const data = { | |
| persons: [ | |
| { id: 0, name: "Sherlock Holmes", numbers: ["555-0101", "555-0199"] }, | |
| { id: 1, name: "John Watson", numbers: ["555-0102", "555-0198"] } | |
| ], | |
| groups: [ | |
| { id: 0, name: "Londonians", personsIds: [0, 1] }, | |
| { id: 1, name: "Doctors", personsIds: [1] } | |
| ] |
| // Installer fs-promise avec : npm install fs-promise | |
| const http = require('http') | |
| const fs = require('fs-promise') | |
| function factorial (n) { | |
| return n === 0 ? 1 : n * factorial(n - 1) | |
| } | |
| const server = http.createServer((req, res) => { |
| Verifying that "scastiel.id" is my Blockstack ID. https://onename.com/scastiel |
| /** | |
| * Hey :) | |
| * The theme has moved to a dedicated repository: https://github.com/scastiel/pm-inbox-theme | |
| */ |
I hereby claim:
To claim this, I am signing this object:
| const objA = { | |
| a: 1, | |
| b: 2 | |
| } | |
| const objB = { | |
| ... objA | |
| b: 3, | |
| c: 4 | |
| } |
| function A(n) { | |
| if (n === 0) { | |
| return [ 841, 1189 ]; | |
| } else { | |
| var dimAn1 = A(n - 1); | |
| return [Math.floor(dimAn1[1] / 2), Math.floor(dimAn1[0])]; | |
| } | |
| } | |
| window.A = A; |
| contract Roulette { | |
| uint public lastRoundTimestamp; | |
| uint public nextRoundTimestamp; | |
| address _creator; | |
| uint _interval; | |
| enum BetType { Single, Odd, Even } |
| Verifying that +scastiel is my blockchain ID. https://onename.com/scastiel |