हां, यह किया जा सकता है। जब आपके पास वैश्विक दायरा होता है, तो आप इसे घोषित किए बिना एक चर का उपयोग कर सकते हैं। निम्नलिखित "नो var" वेरिएबल "पॉइंट्स" स्कोप चेन को देखेंगे, विंस var कीवर्ड का उपयोग नहीं किया जाता है -
<html>
<body>
<script>
var rank = 5;
points = 50;
marks = 300;
// Anonymous function
(function() {
points = 100; //overwrites global scope points
var rank = 4; //new rank variable is created in this' function's scope
var marks = 900;
document.write(rank+"\r\n"); //prints 4
document.write(points+"\r\n"); //prints 100
document.write(marks+"\r\n"); //prints 900
})();
document.write('<br/>');
document.write('<br/>');
document.write(rank+"\r\n"); //prints 5
document.write(points+"\r\n"); //prints 100
document.write(marks+"\r\n"); //prints 300
</script>
</body>
</html>