Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

NB about casting [] to node's array

  • Loading branch information...
commit ee5d565f99a05904d2f9f36c8fdd857030712153 1 parent 4ed754e
@b1rdex b1rdex authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 README.md
View
4 README.md
@@ -92,6 +92,10 @@ It is not possible to replace the default constructors of arrays and objects
Therefore you have to use `Array()` and `Object()` constructors exported by `require('nwglobal')` in order to create arrays and objects in Node's context.
+NB: you can cast browser's `[]` array to node.js array with `require('nwglobal').Array.prototype.slice.call(browserContextArray)`.
+
+NB2: With this you can transform jquery set.
+
# License
MIT License, see the LICENSE file.
Please sign in to comment.
Something went wrong with that request. Please try again.