summaryrefslogtreecommitdiffhomepage
path: root/fa-ir/javascript.html.markdown
diff options
context:
space:
mode:
authorAdam Brenecki <adam@brenecki.id.au>2014-08-10 19:31:54 +0930
committerAdam Brenecki <adam@brenecki.id.au>2014-08-10 19:31:54 +0930
commita9daab714af9c1db9a48311d050d7f8d340b8048 (patch)
treefb9eab569014c6ab6bfb1139b5e6dfb4e0155104 /fa-ir/javascript.html.markdown
parent2cfc0752b4f9ab833e088261b5450a4fd6ff2fa6 (diff)
parent7cf0bcb8283a0be92f77b40568355f02ac1811af (diff)
Merge pull request #718 from m90/master
[javascript/*] typeof is an operator and not a function/method - fix usag...
Diffstat (limited to 'fa-ir/javascript.html.markdown')
-rw-r--r--fa-ir/javascript.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/fa-ir/javascript.html.markdown b/fa-ir/javascript.html.markdown
index 922fe416..5c64d24a 100644
--- a/fa-ir/javascript.html.markdown
+++ b/fa-ir/javascript.html.markdown
@@ -493,8 +493,8 @@ myNumber == myNumberObj; // = true
<p dir='rtl'>به جز این که این سازنده ها دقیقا مانند سازنده های دیگر نیستند.</p>
```js
-typeof(myNumber); // = 'number'
-typeof(myNumberObj); // = 'object'
+typeof myNumber; // = 'number'
+typeof myNumberObj; // = 'object'
myNumber === myNumberObj; // = false
if (0){
// This code won't execute, because 0 is falsy.