cwal

Check-in [63556f035b]
Login

Check-in [63556f035b]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Testing new fossil /fileedit feature.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 63556f035b550ab4cdfbae2049de4f0c72288185
User & Date: stephan 2020-05-02 22:05:36
Context
2020-05-02
22:06
Removed line which was not supposed to have been in the last edit :/. This is why /fileedit needs Preview and Diff features. check-in: ed727d8cdd user: stephan tags: trunk
22:05
Testing new fossil /fileedit feature. check-in: 63556f035b user: stephan tags: trunk
2020-04-24
10:09
Doc touchups. check-in: 6552458a35 user: stephan tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to s2/manual/type-intro.md.
1
2
3
4
5
6
7
8
9
10
11
# s2: Data Types
#### ([⬑Table of Contents](./))
# Data Types

Jump to...

- [Intro](#type-intro)
- [Boolean Contexts](#type-intro-boolean-contexts)
- [Prototypes](#type-intro-prototypes)
- [Literal Objects and Arrays](#type-intro-object-literals)




|







1
2
3
4
5
6
7
8
9
10
11
# s2: Data Types
#### ([⬑Table of Contents](./))
# Data Types
#
Jump to...

- [Intro](#type-intro)
- [Boolean Contexts](#type-intro-boolean-contexts)
- [Prototypes](#type-intro-prototypes)
- [Literal Objects and Arrays](#type-intro-object-literals)

363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
declaration is made in the same scope as the `typeinfo()` call (which is
a scope created for parsing the object literal which contains the
properties being defined). Object and array literals push an implicit
scope while parsing the body so that temporaries created while
assigning properties, as well as vars (like the one shown above), do
not become part of the scope on whose behalf the object/array is being
created.


# Footnotes

[^34]:  But making deep copies via intermediate expressions is often
    possible. e.g. `(var a=300, b = a*2/2)` ends up with two unique
    copies of integers with the value 300.








<







363
364
365
366
367
368
369

370
371
372
373
374
375
376
declaration is made in the same scope as the `typeinfo()` call (which is
a scope created for parsing the object literal which contains the
properties being defined). Object and array literals push an implicit
scope while parsing the body so that temporaries created while
assigning properties, as well as vars (like the one shown above), do
not become part of the scope on whose behalf the object/array is being
created.


# Footnotes

[^34]:  But making deep copies via intermediate expressions is often
    possible. e.g. `(var a=300, b = a*2/2)` ends up with two unique
    copies of integers with the value 300.