GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add exercise for variables · ufo-github/javascript-2@2204b07

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • basics
    • types.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎basics/types.md‎

Copy file name to clipboardExpand all lines: basics/types.md
+21-1Lines changed: 21 additions & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,24 @@ The most common ones are:
1616

1717
* **Objects**: a representation of a more complex object
1818

19-
JavaScript is a “loosely typed” language, which means that you don't have to explicitly declare what type of data the variables are. You just need to use the ```var``` keyword to indicate that you are declaring a variable, and the interpreter will work out what data type you are using from the context, and use of quotes.
19+
JavaScript is a *“loosely typed”* language, which means that you don't have to explicitly declare what type of data the variables are. You just need to use the ```var``` keyword to indicate that you are declaring a variable, and the interpreter will work out what data type you are using from the context, and use of quotes.
20+
21+
22+
23+
---
24+
25+
Create a variable named `a` using the keyword `var`.
26+
27+
```js
28+
29+
```
30+
31+
```js
32+
var a;
33+
```
34+
35+
```js
36+
a;
37+
```
38+
39+
---

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.