How can I use defmacro in Javascript? [closed] - javascript

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
How can I use defmacro in Javascript?
defmacro ()?
Or, some other formats?

You just cannot.
Javascript is not Lisp

Related

How to use foreach method in javascript [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 days ago.
Improve this question
what should I write inside the function?
`array.forEach(function(item){
})`
try to insert data to array

How to hide image/video if it cannot be loaded [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I want to be able to hide img/video if it cannot be loaded in website
You need to use javascript,for video.
x = document.getElementById("video");
x.addEventListener('error',function(){
$(x).hide();
});

Dynamic data type in javascript [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
JsonConvert.DeserializeObject<dynamic>(strinng);
What would be the javascript code for this .NET code?
Please suggest some solution.
let object = JSON.parse(string);

What is result of follow code in JavaScript [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
What is result of follow code :
[] == [] in JavaScript? I had it on test and couldn't find solution.
The result is false because arrays are objects in javascript, so they point to different places in memory, and are so not seen as the same thing.

How Can i use jQuote in my HTML file? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
How Can i use jQuote in my HTML file?
Hi,
Can anyone please guide me to how to use jquote in my project.
You need to include below javascript library in project first.
https://github.com/aefxx/jQote2/blob/master/jquery.jqote2.min.js

Categories