Ruby.js Ruby函数
Ruby.js扩展Ruby函数。文档如何使用标准通话Ruby . uniq ( [ 1 , 1 ] ) - > [ 1 ] Ruby . ord ( "ab" ) - > 97直接呼叫Ruby [ 2 ] . Array . prototype . uniq . call ( [ 1 , 1 ] ) - > [ 1 ] Ruby [ 2 ] . String . prototype . ord . call ( "ab" ) - > 97面向对象扩展Ruby ( 2 ) ; [ 1 , 1 ] . uniq ( ) - > [ 1 ] "ab" . ord ( ) - > 97
下载地址
用户评论