Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Contribute to GitLab
  • Sign in / Register
V
V8
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Linshizhi
  • V8
  • Repository

Switch branch/tag
  • v8
  • test
  • mjsunit
  • harmony
  • nullish.js
Find file
BlameHistoryPermalink
  • Joshua Litt's avatar
    [nullish] Add support for nullish operator · 3ec10365
    Joshua Litt authored Aug 21, 2019
    This CL implements the nullish operator in bytecode as defined by:
    https://github.com/tc39/proposal-nullish-coalescing. It can be
    enabled by passing '--harmony-nullish'.
    
    Nullish is similar to logical operators, but instead of truthy/falsey
    values, it short circuits when it evaluates a null or undefined value.
    
    
    Bug: v8:9547
    Change-Id: Ia0f55877fc2714482b5547942baef9733537d1b9
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1738568Reviewed-by: 's avatarSathya Gunasekaran  <gsathya@chromium.org>
    Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
    Commit-Queue: Joshua Litt <joshualitt@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#63317}
    3ec10365
nullish.js 4.96 KB
EditWeb IDE

Replace nullish.js

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.