We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search


+ Link For Assignments, GDBs & Online Quizzes Solution


+ Link For Past Papers, Solved MCQs, Short Notes & More

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

JavaScript is among the most powerful and flexible programming languages of the web (Java and JavaScript are totally different languages, don't get confused).

We can make dynamic HTML using JavaScript, Even it supports CSS as well.

  • How to define a variable ?

Strings are a primitive(from the start have been used) data type. They are any grouping of characters (letters, spaces, numbers, or symbols) surrounded by single quotes ' or double quotes ".

var university = "Virtual University of Pakistan"
var is a keyword, university is a string type variable.
We can write it in single quotes as well, there is not any difference
var university = 'Virtual University of Pakistan'

while var has been available in JavaScript since its initial release, let and const are only available in ES6 (ES2015) and up.

let university = "Virtual University of Pakistan"
const university = "Virtual University of Pakistan" 
is not for variables; it's for constant values which may not be stored anywhere.

var keyword, which defines a variable globally or locally to an entire function regardless of block scope{....}. But let and Const are limited in the scope to the block {....}

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?

See Your Saved Posts Timeline

Views: 47


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)


You need to be a member of Virtual University of Pakistan to add comments!

Join Virtual University of Pakistan

Latest Activity

Today Top Members 

© 2020   Created by +M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service