/    Sign up×
Community /Pin to ProfileBookmark

Question about paperjs. work with arrays

Hello.
For example is this such code

[B]var arr = new Array(“ff”,”aa”,”ss”,”rr”);
arr.push(“tt”);[/B]

i know that, this code add the new element in the array , but i don’t know, where read me this official? that is, i can not find manual, where is the information about working with Arrays in paperjs. my google not working ?
Please give me the link about this.
Thanks.

to post a comment
JavaScript

5 Comments(s)

Copy linkTweet thisAlerts:
@rtretheweyMay 06.2012 — [url=http://www.google.com/search?q=javascript+array+push]Google it[/url] and take your pick of answers.
Copy linkTweet thisAlerts:
@Declan1991May 06.2012 — [url=https://developer.mozilla.org/en-US/]MDN[/url].

Number one reference for nearly everything you could want for.
Copy linkTweet thisAlerts:
@dadliauthorMay 06.2012 — [B]rtrethewey

Declan1991[/B]


That is, work with arrays in [COLOR="SeaGreen"]paprjs[/COLOR], exactly seems, work with arrays in [COLOR="SeaGreen"]javascript [/COLOR]?

it is so ?
Copy linkTweet thisAlerts:
@Declan1991May 07.2012 — Paper.js is JavaScript, it's "ported" to JavaScript, in other words, it's written in JavaScript.
Copy linkTweet thisAlerts:
@dadliauthorMay 07.2012 — [B]Declan1991[/B]

Understood, thanks very much
×

Success!

Help @dadli spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...