Skip to content

Commit ed71efe

Browse files
committed
First pass in Farsi
1 parent 31d68f9 commit ed71efe

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
//// { order: 0, compiler: { target: 1 } }
2+
3+
// به محل خوش آمدید.
4+
// این ابزار محلی برای آموزش و امتحان Typescript در داخل مرورگر شماست.‍
5+
6+
// The playground makes it easy for you to safely experiment
7+
// with ideas in TypeScript by making it trivial to share
8+
// these projects. The URL for this page is everything
9+
// required to load the project for someone else.
10+
11+
const hello = 'سلام'
12+
13+
// You can see on the right the result of the TypeScript
14+
// compiler: this is vanilla JavaScript which can run on
15+
// browsers, servers or anywhere really.
16+
17+
const world = 'دنیا'
18+
19+
// You can see how it makes tiny changes to the code, by
20+
// converting a "const" to a "var". This is one of the many
21+
// things TypeScript does to make it possible to run
22+
// anywhere JavaScript runs.
23+
24+
console.log(hello + ' ' + world)
25+
26+
// Now that you have an idea of how the playground works,
27+
// let's look at how TypeScript makes working with
28+
// JavaScript more fun. During this section we'll be trying
29+
// to keep as close to vanilla JavaScript as possible to
30+
// show how you can re-use existing knowledge.
31+
//
32+
// Click below to continue:
33+
//
34+
// example:objects-and-arrays
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## مثال های جاوااسکریپت
2+
3+
این مثال ها به ما چگونگی اجرای جاوااسکریپت توسط تایپ اسکریپت را نشان می دهند. با اینکه در بعضی از مثال ها از تایپ قابلیت های ساده تایپ اسکریپت استفاده می کنیم اما هدف اصلی این دسته از مثال ها نشان دادن سادگی استفاده مجدد از دانسته های کاربر در جاوااسکریپت در تایپ اسکریپت است.

0 commit comments

Comments
 (0)