just wondering if anyone has ever tried embedding and actually integrating any js engine into the .net environment. I could find and actually use (after a LOT of pain and effort, since it's pretty outdated and not quite finished) spidermonkey-do...
The difference between a javascript Array, and Object is not very big. In fact it seems Array mainly adds the length field, so you can use both Arrays and Objects as numeric arrays:  var ar = new Array(); ar[0] = "foo"; ar["bar"] = &#...
I need to install the Spidermonkey JS engine on my work machine. The project I'm working on has a jslint script that requires Spidermonkey or a similar js binary. I've tried compiling Spidermonkey from source and gotten stuck in dependency he...
I need to get user input when running a .js in a console with spidermonkey like this:  $ js myprogram.js  What's the JavaScript equivalent of Ruby's gets?...
I noticed ubuntu 10.04 removed the spidermonkey package. Rhino looks like it's still there though. What are the differences between rhino and spidermonkey (besides what language they're written in). And why did they remove spidermonkey?...
I'm learning JavaScript and I'm currently trying to figure out why (in Spidermonkey)  [].concat.apply([1], [[2]])   returns the expected [1, 2], but  Array.concat.apply([1], [[2]])   returns [2] instead of [1, 2].  Could someone provide a goo...
I have a server which will be serving up javascript files, I need to grab it and execute some of it's functions using SpiderMonkey in python. How can I do this?...
If we have a huge string, named str1, say 5 million characters long, and then str2 = str1.substr(5555, 100) so that str2 is 100 characters long and is a substring of str1 starting at 5555 (or any other randomly selected position).  How JavaScript sto...
I'm trying to build something on javascript that I can have an input that can be everything like string, xml, javascript and (non-javascript string without quotes)  as follows:  //strings     eval("'hello I am a string'"); /* note...
I am writing an open source javascript library, and I use .bind() method heavily, because I have an idea that object-oriented code looks more clear then. (debatable, though)  Example  A1:  var that = this;  setTimeout(function () {     that.method();...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.