This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Look at the following class | |
class Suprise { | |
constructor(name, age) { | |
this.name = name; | |
this.age = age; | |
setTimeout(this.alertSuprise, 1000); | |
} | |
alertSuprise() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- XML DTD "mondial.dtd": | |
(Wolfgang May, [email protected], March 2000, revised April 2009) | |
a hierarchical DTD for the MONDIAL database, | |
containing e.g., | |
- scalar reference attributes (city/capital) | |
- multivalued reference attributes (organization/member/country) | |
- cross-references in both directions (organization/member/country, | |
country/memberships) | |
- a "boolean"/flag attribute: city/is_country_cap | |
- reference attributes with more than one target class |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
title: 'Expanding Demo', | |
theme: ThemeData( |