@@ -417,11 +417,11 @@ Module["onRuntimeInitialized"] = function onRuntimeInitialized() {
417417 @example
418418 <caption>Print all the rows of the table test to the console</caption>
419419 var stmt = db.prepare("SELECT * FROM test");
420- while (stmt[" step"] ()) console.log(stmt.get());
420+ while (stmt. step()) console.log(stmt.get());
421421
422422 <caption>Enable BigInt support</caption>
423423 var stmt = db.prepare("SELECT * FROM test");
424- while (stmt[" step"] ()) console.log(stmt.get(null, {useBigInt: true}));
424+ while (stmt. step()) console.log(stmt.get(null, {useBigInt: true}));
425425 */
426426 Statement . prototype [ "get" ] = function get ( params , config ) {
427427 config = config || { } ;
@@ -460,7 +460,7 @@ Module["onRuntimeInitialized"] = function onRuntimeInitialized() {
460460 var stmt = db.prepare(
461461 "SELECT 5 AS nbr, x'616200' AS data, NULL AS null_value;"
462462 );
463- stmt[" step"] (); // Execute the statement
463+ stmt. step(); // Execute the statement
464464 console.log(stmt.getColumnNames());
465465 // Will print ['nbr','data','null_value']
466466 */
@@ -485,7 +485,7 @@ Module["onRuntimeInitialized"] = function onRuntimeInitialized() {
485485 var stmt = db.prepare(
486486 "SELECT 5 AS nbr, x'010203' AS data, NULL AS null_value;"
487487 );
488- stmt[" step"] (); // Execute the statement
488+ stmt. step(); // Execute the statement
489489 console.log(stmt.getAsObject());
490490 // Will print {nbr:5, data: Uint8Array([1,2,3]), null_value:null}
491491 */
0 commit comments