Upgrade to Pro — share decks privately, control downloads, hide ads and more …

まんがタイムJavaScriptの ドキドキ☆ビジュアル アセンブラ

まんがタイムJavaScriptの ドキドキ☆ビジュアル アセンブラ

歌舞伎座.tech#9「異種プログラミング言語格闘勉強会」 資料
http://kbkz.connpass.com/event/26677/

Michihito Shigemura

March 20, 2016
Tweet

More Decks by Michihito Shigemura

Other Decks in Programming

Transcript

  1.   ࡀ ͳ Μ Ͱ ͢ ͚ Ͳ ʂ

    ӕ ͸ ͭ ͍ ͯ · ͤ Μ
  2. If Type(lprim) is String or Type(rprim) is String, then Let

    lstr be ToString(lprim). ReturnIfAbrupt(lstr). Let rstr be ToString(rprim). ReturnIfAbrupt(rstr). Return the String that is the result of concatenating lstr and rstr. ES2015 The Addition operator (+) 一部抜粋
  3. ES2015 The Addition operator (+) 一部抜粋 If Type(lprim) is String

    or Type(rprim) is String, then Let lstr be ToString(lprim). ReturnIfAbrupt(lstr). Let rstr be ToString(rprim). ReturnIfAbrupt(rstr). Return the String that is the result of concatenating lstr and rstr.
  4. 1. Let lref be the result of evaluating AdditiveExpression. 2.

    Let lval be GetValue(lref). 3. ReturnIfAbrupt(lval). 4. Let rref be the result of evaluating MultiplicativeExpression. 5. Let rval be GetValue(rref). 6. ReturnIfAbrupt(rval). 7. Let lnum be ToNumber(lval). 8. ReturnIfAbrupt(lnum). 9. Let rnum be ToNumber(rval). 10.ReturnIfAbrupt(rnum). 11.Return the result of applying the subtraction operation to lnum and rnum. See the note below 12.7.5. ES2015 The Subtraction Operator (-) 抜粋
  5. ES2015 The Addition operator (+) 一部抜粋 If Type(lprim) is String

    or Type(rprim) is String, then Let lstr be ToString(lprim). ReturnIfAbrupt(lstr). Let rstr be ToString(rprim). ReturnIfAbrupt(rstr). Return the String that is the result of concatenating lstr and rstr.
  6. ES2015 The Addition operator (+) 一部抜粋 If Type(lprim) is String

    or Type(rprim) is String, then Let lstr be ToString(lprim). ReturnIfAbrupt(lstr). Let rstr be ToString(rprim). ReturnIfAbrupt(rstr). Return the String that is the result of concatenating lstr and rstr. 減法演算子に この記述はないッッ