Walkthrough of the following script (v8:6573).
var logFoo;
var promise1 = Promise.resolve().then( () => logFoo = () => console.log( "foo" ) );
promise1.then( () => logFoo() ).then( logFoo );
/** | |
* Simple and educational `malloc` implementation. | |
* | |
* Dmitry Soshnikov <[email protected]> | |
* | |
* Maintains explicit linked list of allocated memory blocks. Each block | |
* has a header, containing meta-information, such as whether a block is | |
* free, its size, and a reference to the next block. | |
* | |
* Homework assignments: |
// Automatic FlutterFlow imports | |
import '/backend/backend.dart'; | |
import '/backend/schema/structs/index.dart'; | |
import '/flutter_flow/flutter_flow_theme.dart'; | |
import '/flutter_flow/flutter_flow_util.dart'; | |
import '/custom_code/actions/index.dart'; // Imports other custom actions | |
import '/flutter_flow/custom_functions.dart'; // Imports custom functions | |
import 'package:flutter/material.dart'; | |
// Begin custom action code | |
// DO NOT REMOVE OR MODIFY THE CODE ABOVE! |