From 02a10b5aed8d986a1eef0e5b0f4e1fb92f3af0be Mon Sep 17 00:00:00 2001 From: Kamalka-Fernando Date: Wed, 20 Oct 2021 13:20:42 +0530 Subject: [PATCH] added JS interview question --- JavaScript/interview_question__by namsteJS.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/JavaScript/interview_question__by namsteJS.js b/JavaScript/interview_question__by namsteJS.js index 343dd36..3d0500f 100644 --- a/JavaScript/interview_question__by namsteJS.js +++ b/JavaScript/interview_question__by namsteJS.js @@ -115,7 +115,8 @@ // fig- L8,7a that orange color box represent the reference to the lexical environment to the parent so along with the memory space of variable and function we also get lexical environment of the parent(that orange thing) . - +// (8) Enumerate the differences between Java and JavaScript? +// Java is a complete programming language. In contrast, JavaScript is a coded program that can be introduced to HTML pages. These two languages are not at all inter-dependent and are designed for different intent. Java is an object-oriented programming (OOPS) or structured programming languages like C++ or C, whereas JavaScript is a client-side scripting language.