graphic:javascript:photoshop

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
graphic:javascript:photoshop [2021/08/22 19:48] – created yinggraphic:javascript:photoshop [2021/12/11 13:57] – [Javascript Version and Compatibility] ying
Line 1: Line 1:
 +====== Javascript Version and Compatibility ======
 +
 +  * JS ES3 (1999): photoshop js based on.
 +  * JS ES4
 +  * JS ES5: .trim()
 +  * JS ES6 (2015): let const, arrow
 +  * JS 2016: array.includes()
 +  * JS 2017: string padding
 +  * JS 2018: 
 +
 +  * note
 +    * function with default parameter: <code javascript>
 +function hex2rgb(hex, asList) {
 +    asList = asList || 0; // default not as list but as dict
 +}
 +</code>
 +      * ref: https://code.tutsplus.com/tutorials/how-to-use-optional-function-parameters-in-javascript--cms-37376
 +    * startswith support
 +    * check JS version: $.about()
 +
 +  * ref: 
 +    * https://helpx.adobe.com/after-effects/using/legacy-and-extend-script-engine.html
 +    * https://www.w3schools.com/js/js_versions.asp
 +
 ====== My Photoshop Script ====== ====== My Photoshop Script ======
  
  • graphic/javascript/photoshop.txt
  • Last modified: 2023/03/05 03:02
  • by ying