标签:class code join unless ssi length switch pre col
- var lession = [‘node‘,‘jade‘] if lession if lession.length > 2 p 1 #{lession.join(‘, ‘)} else if lession.length > 1 p 2 #{lession.join(‘, ‘)} else p no lession else p no lession => <p>2 node, jade</p>
- var isJade = true
unless !isJade p #{lession.length} => <p>2</p>
- var name = ‘jade‘ case name when ‘java‘: p Hi java when ‘jade‘: p Hi jade when ‘node‘: p Hi node when ‘express‘: p Hi express => <p>Hi jade</p>
标签:class code join unless ssi length switch pre col
原文地址:https://www.cnblogs.com/wzndkj/p/9276286.html